12件ヒット
[1-12件を表示]
(0.089秒)
別のキーワード
種類
- インスタンスメソッド (8)
- 特異メソッド (2)
- モジュール関数 (2)
ライブラリ
- ビルトイン (4)
- pathname (2)
- shell (2)
-
shell
/ command-processor (2) -
shell
/ filter (2)
クラス
- File (2)
- Pathname (2)
- Shell (2)
-
Shell
:: CommandProcessor (2) -
Shell
:: Filter (2)
モジュール
- FileTest (2)
検索結果
先頭5件
-
Shell
# readable?(file) -> bool (54337.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列を指定します。
@see FileTest.#readable? -
Shell
:: CommandProcessor # readable?(file) -> bool (54337.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列を指定します。
@see FileTest.#readable? -
Shell
:: Filter # readable?(file) -> bool (54337.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列を指定します。
@see FileTest.#readable? -
Pathname
# readable? -> bool (54322.0) -
FileTest.readable?(self.to_s) と同じです。
FileTest.readable?(self.to_s) と同じです。
@see FileTest.#readable? -
File
. readable?(path) -> bool (54319.0) -
FileTest.#readable? と同じです。
FileTest.#readable? と同じです。
@param path パスを表す文字列か IO オブジェクトを指定します。 -
FileTest
. # readable?(file) -> bool (54319.0) -
ファイルがカレントプロセスにより読み込み可能な時に真を返します。そうでない場合、ファイルが存在しない場合、あるいはシステムコールに失敗した場合などには false を返します。
ファイルがカレントプロセスにより読み込み可能な時に真を返します。そうでない場合、ファイルが存在しない場合、あるいはシステムコールに失敗した場合などには false を返します。
@param file ファイル名を表す文字列を指定します。
//emlist[例][ruby]{
IO.write("testfile", "")
File.chmod(0644, "testfile")
FileTest.readable?("testfile") # => true
File.chmod(0200, "testfile")
FileTest.readable?("testfile"... -
Shell
# world _ readable? (18352.0) -
@todo
@todo -
Shell
:: CommandProcessor # world _ readable? (18352.0) -
@todo
@todo -
Shell
:: Filter # world _ readable? (18352.0) -
@todo
@todo -
Pathname
# world _ readable? -> bool (18322.0) -
FileTest.world_readable?(self.to_s) と同じです。
FileTest.world_readable?(self.to_s) と同じです。
@see FileTest.#world_readable? -
File
. world _ readable?(path) -> Integer | nil (18319.0) -
path が全てのユーザから読めるならばそのファイルのパーミッションを表す 整数を返します。そうでない場合は nil を返します。
path が全てのユーザから読めるならばそのファイルのパーミッションを表す
整数を返します。そうでない場合は nil を返します。
整数の意味はプラットフォームに依存します。
@param path パスを表す文字列か IO オブジェクトを指定します。
//emlist[例][ruby]{
m = File.world_readable?("/etc/passwd")
"%o" % m # => "644"
//} -
FileTest
. # world _ readable?(path) -> Integer | nil (18319.0) -
path が全てのユーザから読めるならばそのファイルのパーミッションを表す 整数を返します。そうでない場合は nil を返します。
path が全てのユーザから読めるならばそのファイルのパーミッションを表す
整数を返します。そうでない場合は nil を返します。
整数の意味はプラットフォームに依存します。
@param path パスを表す文字列を指定します。
m = FileTest.world_readable?("/etc/passwd")
"%o" % m # => "644"