2件ヒット
[1-2件を表示]
(0.131秒)
別のキーワード
クラス
-
File
:: Stat (1) - Pathname (1)
検索結果
-
File
:: Stat # directory? -> bool (72643.0) -
ディレクトリの時に真を返します。
ディレクトリの時に真を返します。
//emlist[][ruby]{
p File::Stat.new($0).directory? #=> false
//}
@see FileTest.#directory? -
Pathname
# directory? -> bool (72625.0) -
FileTest.directory?(self.to_s) と同じです。
FileTest.directory?(self.to_s) と同じです。
@see FileTest.#directory?