73件ヒット
[1-73件を表示]
(0.098秒)
ライブラリ
- ビルトイン (44)
- pathname (11)
- shell (6)
-
shell
/ command-processor (6) -
shell
/ filter (6)
クラス
-
File
:: Stat (44) - Pathname (11)
- Shell (6)
-
Shell
:: CommandProcessor (6) -
Shell
:: Filter (6)
キーワード
- chardev? (40)
-
rdev
_ major (11) -
rdev
_ minor (11)
検索結果
先頭5件
-
File
:: Stat # rdev -> Integer (18108.0) -
デバイスタイプ(スペシャルファイルのみ)を返します。
...デバイスタイプ(スペシャルファイルのみ)を返します。
//emlist[][ruby]{
fs = File::Stat.new($0)
#例
p fs.rdev #=> 2
//}... -
File
:: Stat # rdev _ major -> Integer (6124.0) -
rdev の major 番号部を返します。
...rdev の major 番号部を返します。
//emlist[][ruby]{
fs = File::Stat.new($0)
#例
p fs.rdev_major #=> nil
//}... -
File
:: Stat # rdev _ minor -> Integer (6124.0) -
rdev の minor 番号部を返します。
...rdev の minor 番号部を返します。
//emlist[][ruby]{
fs = File::Stat.new($0)
#例
p fs.rdev_minor #=> nil
//}... -
File
:: Stat # chardev? -> bool (6101.0) -
キャラクタスペシャルファイルの時に真を返します。
...キャラクタスペシャルファイルの時に真を返します。
//emlist[][ruby]{
Dir.glob("/dev/*") {|bd|
if File::Stat.new(bd).chardev?
puts bd
end
}
#例
#...
#=> /dev/tty1
#=> /dev/stderr
#...
//}... -
Pathname
# chardev? -> bool (6101.0) -
FileTest.chardev?(self.to_s) と同じです。
...FileTest.chardev?(self.to_s) と同じです。
@see FileTest.#chardev?... -
Shell
# chardev?(file) -> bool (6101.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
...FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列か IO オブジェクトを指定します。
@see FileTest.#chardev?... -
Shell
:: CommandProcessor # chardev?(file) -> bool (6101.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
...FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列か IO オブジェクトを指定します。
@see FileTest.#chardev?... -
Shell
:: Filter # chardev?(file) -> bool (6101.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
...FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列か IO オブジェクトを指定します。
@see FileTest.#chardev?...