instance method Pathname#file?

file? -> bool[permalink][rdoc][edit]

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

[SEE_ALSO] FileTest.#file?