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