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