40件ヒット
[1-40件を表示]
(0.045秒)
別のキーワード
種類
- インスタンスメソッド (18)
- 特異メソッド (11)
- モジュール関数 (11)
ライブラリ
- ビルトイン (22)
- shell (6)
-
shell
/ command-processor (6) -
shell
/ filter (6)
クラス
- File (11)
- Shell (6)
-
Shell
:: CommandProcessor (6) -
Shell
:: Filter (6)
モジュール
- FileTest (11)
検索結果
先頭5件
-
FileTest
. # directory?(file) -> bool (18112.0) -
ファイルがディレクトリの時に真を返します。そうでない場合、ファイルが存在しない場合、あるいはシステムコールに失敗した場合などには false を返します。
...ファイル名を表す文字列か IO オブジェクトを指定します。
@raise IOError 指定された IO オブジェクト file が既に close されていた場合に発生します。
例:
FileTest.directory?('/etc') # => true
FileTest.directory?('/etc/passwd') # => false
f = F......ile.open('/etc')
FileTest.directory?(f) # => true
f.close
FileTest.directory?(f) # => IOError: closed stream... -
File
. directory?(path) -> bool (18106.0) -
FileTest.#directory? と同じです。
...FileTest.#directory? と同じです。
@param path パスを表す文字列か IO オブジェクトを指定します。... -
Shell
# directory?(file) -> bool (18106.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
...FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列か IO オブジェクトを指定します。
@see FileTest.#directory?... -
Shell
:: CommandProcessor # directory?(file) -> bool (18106.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
...FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列か IO オブジェクトを指定します。
@see FileTest.#directory?... -
Shell
:: Filter # directory?(file) -> bool (18106.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
...FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列か IO オブジェクトを指定します。
@see FileTest.#directory?...