6件ヒット
[1-6件を表示]
(0.279秒)
種類
- インスタンスメソッド (4)
- 特異メソッド (1)
- モジュール関数 (1)
ライブラリ
- ビルトイン (2)
- pathname (1)
- shell (1)
-
shell
/ command-processor (1) -
shell
/ filter (1)
クラス
- File (1)
- Pathname (1)
- Shell (1)
-
Shell
:: CommandProcessor (1) -
Shell
:: Filter (1)
モジュール
- FileTest (1)
検索結果
先頭5件
-
Shell
# world _ writable? (54352.0) -
@todo
@todo -
Shell
:: CommandProcessor # world _ writable? (54352.0) -
@todo
@todo -
Shell
:: Filter # world _ writable? (54352.0) -
@todo
@todo -
Pathname
# world _ writable? -> bool (54322.0) -
FileTest.world_writable?(self.to_s) と同じです。
FileTest.world_writable?(self.to_s) と同じです。
@see FileTest.#world_writable? -
File
. world _ writable?(path) -> bool (54319.0) -
path が全てのユーザから書き込めるならば、そのファイルのパーミッションを表す 整数を返します。そうでない場合は nil を返します。
path が全てのユーザから書き込めるならば、そのファイルのパーミッションを表す
整数を返します。そうでない場合は nil を返します。
整数の意味はプラットフォームに依存します。
@param path パスを表す文字列か IO オブジェクトを指定します。
//emlist[例][ruby]{
m = File.world_writable?("/tmp")
"%o" % m #=> "777"
//} -
FileTest
. # world _ writable?(path) -> bool (54319.0) -
path が全てのユーザから書き込めるならば、そのファイルのパーミッションを表す 整数を返します。そうでない場合は nil を返します。
path が全てのユーザから書き込めるならば、そのファイルのパーミッションを表す
整数を返します。そうでない場合は nil を返します。
整数の意味はプラットフォームに依存します。
@param path パスを表す文字列を指定します。
m = FileTest.world_writable?("/tmp")
"%o" % m #=> "777"