5件ヒット
[1-5件を表示]
(0.144秒)
ライブラリ
- ビルトイン (1)
- pathname (1)
- shell (1)
-
shell
/ command-processor (1) -
shell
/ filter (1)
クラス
-
File
:: Stat (1) - Pathname (1)
- Shell (1)
-
Shell
:: CommandProcessor (1) -
Shell
:: Filter (1)
検索結果
先頭5件
-
File
:: Stat # blockdev? -> bool (72928.0) -
ブロックスペシャルファイルの時に真を返します。
ブロックスペシャルファイルの時に真を返します。
//emlist[][ruby]{
Dir.glob("/dev/*") {|bd|
if File::Stat.new(bd).blockdev?
puts bd
end
}
#例
#...
#=> /dev/hda1
#=> /dev/hda3
#...
//} -
Pathname
# blockdev? -> bool (72910.0) -
FileTest.blockdev?(self.to_s) と同じです。
FileTest.blockdev?(self.to_s) と同じです。
@see FileTest.#blockdev? -
Shell
# blockdev?(file) -> bool (72907.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列か IO オブジェクトを指定します。
@see FileTest.#blockdev? -
Shell
:: CommandProcessor # blockdev?(file) -> bool (72907.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列か IO オブジェクトを指定します。
@see FileTest.#blockdev? -
Shell
:: Filter # blockdev?(file) -> bool (72907.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列か IO オブジェクトを指定します。
@see FileTest.#blockdev?