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