42件ヒット
[1-42件を表示]
(0.085秒)
ライブラリ
- ビルトイン (24)
- shell (6)
-
shell
/ command-processor (6) -
shell
/ filter (6)
クラス
-
File
:: Stat (24) - Shell (6)
-
Shell
:: CommandProcessor (6) -
Shell
:: Filter (6)
検索結果
先頭5件
-
File
:: Stat # readable? -> bool (21114.0) -
読み込み可能な時に真を返します。
...読み込み可能な時に真を返します。
//emlist[][ruby]{
p File::Stat.new($0).readable? #=> true
//}... -
Shell
# readable?(file) -> bool (18208.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
...FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列を指定します。
@see FileTest.#readable?... -
Shell
:: CommandProcessor # readable?(file) -> bool (18208.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
...FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列を指定します。
@see FileTest.#readable?... -
Shell
:: Filter # readable?(file) -> bool (18208.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
...FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列を指定します。
@see FileTest.#readable?... -
File
:: Stat # world _ readable? -> Integer | nil (9114.0) -
全てのユーザから読めるならば、そのファイルのパーミッションを表す 整数を返します。そうでない場合は nil を返します。
...ミッションを表す
整数を返します。そうでない場合は nil を返します。
整数の意味はプラットフォームに依存します。
//emlist[][ruby]{
m = File.stat("/etc/passwd").world_readable? # => 420
sprintf("%o", m) # => "644"
//}...