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