4件ヒット
[1-4件を表示]
(0.207秒)
クラス
-
File
:: Stat (1) -
Net
:: FTP :: MLSxEntry (1) - Pathname (2)
検索結果
先頭4件
-
Net
:: FTP :: MLSxEntry # readable? -> bool (81607.0) -
内容が読み出せるなら true を返します。
内容が読み出せるなら true を返します。 -
Pathname
# readable? -> bool (81607.0) -
FileTest.readable?(self.to_s) と同じです。
FileTest.readable?(self.to_s) と同じです。
@see FileTest.#readable? -
Pathname
# world _ readable? -> bool (45607.0) -
FileTest.world_readable?(self.to_s) と同じです。
FileTest.world_readable?(self.to_s) と同じです。
@see FileTest.#world_readable? -
File
:: Stat # world _ readable? -> Integer | nil (36925.0) -
全てのユーザから読めるならば、そのファイルのパーミッションを表す 整数を返します。そうでない場合は nil を返します。
全てのユーザから読めるならば、そのファイルのパーミッションを表す
整数を返します。そうでない場合は nil を返します。
整数の意味はプラットフォームに依存します。
//emlist[][ruby]{
m = File.stat("/etc/passwd").world_readable? # => 420
sprintf("%o", m) # => "644"
//}