instance method File::Stat#directory?

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

ディレクトリの時に真を返します。


p File::Stat.new($0).directory? #=> false

[SEE_ALSO] FileTest.#directory?