instance method Pathname#directory?

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

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

[SEE_ALSO] FileTest.#directory?