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