Ruby 1.9.3 リファレンスマニュアル > ライブラリ一覧 > pathnameライブラリ > Pathnameクラス > exist?

instance method Pathname#exist?

exist? -> bool

FileTest.exist?(self.to_s) と同じです。

[SEE_ALSO] FileTest.#exist?

class Pathname