4件ヒット
[1-4件を表示]
(0.187秒)
クラス
-
File
:: Stat (1) -
Net
:: FTP :: MLSxEntry (1) - Pathname (2)
検索結果
先頭4件
-
Net
:: FTP :: MLSxEntry # writable? -> bool (81607.0) -
ファイルに書き込めるなら true を返します。
ファイルに書き込めるなら true を返します。 -
Pathname
# writable? -> bool (81607.0) -
FileTest.writable?(self.to_s) と同じです。
FileTest.writable?(self.to_s) と同じです。
@see FileTest.#writable? -
Pathname
# world _ writable? -> bool (45607.0) -
FileTest.world_writable?(self.to_s) と同じです。
FileTest.world_writable?(self.to_s) と同じです。
@see FileTest.#world_writable? -
File
:: Stat # world _ writable? -> Integer | nil (36925.0) -
全てのユーザから書き込めるならば、そのファイルのパーミッションを表す 整数を返します。そうでない場合は nil を返します。
全てのユーザから書き込めるならば、そのファイルのパーミッションを表す
整数を返します。そうでない場合は nil を返します。
整数の意味はプラットフォームに依存します。
//emlist[][ruby]{
m = File.stat("/tmp").world_writable? # => 511
sprintf("%o", m) # => "777"
//}