22件ヒット
[1-22件を表示]
(0.223秒)
クラス
-
File
:: Stat (11) - Pathname (11)
検索結果
-
File
:: Stat # world _ writable? -> Integer | nil (33408.0) -
全てのユーザから書き込めるならば、そのファイルのパーミッションを表す 整数を返します。そうでない場合は nil を返します。
...ーミッションを表す
整数を返します。そうでない場合は nil を返します。
整数の意味はプラットフォームに依存します。
//emlist[][ruby]{
m = File.stat("/tmp").world_writable? # => 511
sprintf("%o", m) # => "777"
//}... -
Pathname
# world _ writable? -> bool (30402.0) -
FileTest.world_writable?(self.to_s) と同じです。
...FileTest.world_writable?(self.to_s) と同じです。
@see FileTest.#world_writable?...