6件ヒット
[1-6件を表示]
(0.028秒)
種類
- インスタンスメソッド (4)
- モジュール関数 (1)
- 特異メソッド (1)
ライブラリ
- ビルトイン (2)
- pathname (1)
- shell (1)
-
shell
/ command-processor (1) -
shell
/ filter (1)
クラス
- File (1)
- Pathname (1)
- Shell (1)
-
Shell
:: CommandProcessor (1) -
Shell
:: Filter (1)
モジュール
- FileTest (1)
検索結果
先頭5件
-
FileTest
. # chardev?(file) -> bool (186319.0) -
ファイルがキャラクタスペシャルファイルの時に真を返します。そうでない場合、ファイルが存在しない場合、あるいはシステムコールに失敗した場合などには false を返します。
ファイルがキャラクタスペシャルファイルの時に真を返します。そうでない場合、ファイルが存在しない場合、あるいはシステムコールに失敗した場合などには false を返します。
@param file ファイル名を表す文字列か IO オブジェクトを指定します。
@raise IOError 指定された IO オブジェクト file が既に close されていた場合に発生します。
例:
Dir.glob("/dev/*") { |file|
puts file if FileTest.chardev?(file)
}
# /dev/console
# /dev/tty... -
Pathname
# chardev? -> bool (54370.0) -
FileTest.chardev?(self.to_s) と同じです。
FileTest.chardev?(self.to_s) と同じです。
@see FileTest.#chardev? -
Shell
# chardev?(file) -> bool (54367.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列か IO オブジェクトを指定します。
@see FileTest.#chardev? -
Shell
:: CommandProcessor # chardev?(file) -> bool (54367.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列か IO オブジェクトを指定します。
@see FileTest.#chardev? -
Shell
:: Filter # chardev?(file) -> bool (54367.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列か IO オブジェクトを指定します。
@see FileTest.#chardev? -
File
. chardev?(path) -> bool (54349.0) -
FileTest.#chardev? と同じです。
FileTest.#chardev? と同じです。
@param path パスを表す文字列か IO オブジェクトを指定します。