93件ヒット
[1-93件を表示]
(0.100秒)
種類
- インスタンスメソッド (71)
- 特異メソッド (11)
- モジュール関数 (11)
ライブラリ
- ビルトイン (33)
-
net
/ ftp (9) - pathname (11)
-
rubygems
/ gem _ path _ searcher (11) -
rubygems
/ package / tar _ reader / entry (11) - shell (6)
-
shell
/ command-processor (6) -
shell
/ filter (6)
クラス
- File (11)
-
File
:: Stat (11) -
Gem
:: GemPathSearcher (11) -
Gem
:: Package :: TarReader :: Entry (11) -
Net
:: FTP :: MLSxEntry (9) - Pathname (11)
- Shell (6)
-
Shell
:: CommandProcessor (6) -
Shell
:: Filter (6)
モジュール
- FileTest (11)
検索結果
先頭5件
-
FileTest
. # file?(file) -> bool (27300.0) -
ファイルが通常ファイルである時に真を返します。そうでない場合、ファイルが存在しない場合、あるいはシステムコールに失敗した場合などには false を返します。
...false を返します。
@param file ファイル名を表す文字列か IO オブジェクトを指定します。
@raise IOError 指定された IO オブジェクト file が既に close されていた場合に発生します。
例:
FileTest.file?('/bin/bash') # => true
FileTest.file?('....../bin') # => false
FileTest.file?('/no_such_file') # => false... -
File
:: Stat # file? -> bool (27207.0) -
通常ファイルの時に真を返します。
...通常ファイルの時に真を返します。
//emlist[][ruby]{
p File::Stat.new($0).file? #=> true
//}... -
File
. file?(path) -> bool (27200.0) -
FileTest.#file? と同じです。
...FileTest.#file? と同じです。
@param path パスを表す文字列か IO オブジェクトを指定します。... -
Shell
# file?(file) -> bool (24300.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
...FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列か IO オブジェクトを指定します。
@see FileTest.#file?... -
Shell
:: CommandProcessor # file?(file) -> bool (24300.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
...FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列か IO オブジェクトを指定します。
@see FileTest.#file?... -
Shell
:: Filter # file?(file) -> bool (24300.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
...FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列か IO オブジェクトを指定します。
@see FileTest.#file?... -
Gem
:: Package :: TarReader :: Entry # file? -> bool (24201.0) -
自身がファイルであれば、真を返します。 そうでない場合は、偽を返します。
自身がファイルであれば、真を返します。
そうでない場合は、偽を返します。 -
Net
:: FTP :: MLSxEntry # file? -> bool (24201.0) -
エントリの種類がファイルであれば true を返します。
...エントリの種類がファイルであれば true を返します。
Net::FTP::MLSxEntry#type == "file" と同じ意味です。... -
Pathname
# file? -> bool (24201.0) -
FileTest.file?(self.to_s) と同じです。
...FileTest.file?(self.to_s) と同じです。
@see FileTest.#file?... -
Gem
:: GemPathSearcher # matching _ file?(spec , path) -> bool (12200.0) -
与えられた spec に path が含まれている場合、真を返します。 そうでない場合は偽を返します。
与えられた spec に path が含まれている場合、真を返します。
そうでない場合は偽を返します。
@param spec Gem::Specification のインスタンスを指定します。
@param path 探索対象のパスを指定します。