8件ヒット
[1-8件を表示]
(0.191秒)
ライブラリ
- ビルトイン (2)
-
net
/ ftp (1) - pathname (2)
- shell (1)
-
shell
/ command-processor (1) -
shell
/ filter (1)
クラス
-
File
:: Stat (2) -
Net
:: FTP :: MLSxEntry (1) - Pathname (2)
- Shell (1)
-
Shell
:: CommandProcessor (1) -
Shell
:: Filter (1)
検索結果
先頭5件
-
File
:: Stat # writable? -> bool (81925.0) -
書き込み可能な時に真を返します。
書き込み可能な時に真を返します。
//emlist[][ruby]{
p File::Stat.new($0).writable? #=> true
//} -
Net
:: FTP :: MLSxEntry # writable? -> bool (72907.0) -
ファイルに書き込めるなら true を返します。
ファイルに書き込めるなら true を返します。 -
Pathname
# writable? -> bool (72907.0) -
FileTest.writable?(self.to_s) と同じです。
FileTest.writable?(self.to_s) と同じです。
@see FileTest.#writable? -
Shell
# writable?(file) -> bool (72904.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列を指定します。
@see FileTest.#writable? -
Shell
:: CommandProcessor # writable?(file) -> bool (72904.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列を指定します。
@see FileTest.#writable? -
Shell
:: Filter # writable?(file) -> bool (72904.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列を指定します。
@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 (36907.0) -
FileTest.world_writable?(self.to_s) と同じです。
FileTest.world_writable?(self.to_s) と同じです。
@see FileTest.#world_writable?