るりまサーチ (Ruby 3.1)

最速Rubyリファレンスマニュアル検索!
4件ヒット [1-4件を表示] (0.185秒)

別のキーワード

  1. _builtin b
  2. string b
  3. b string
  4. b _builtin
  5. b

ライブラリ

クラス

検索結果

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"
//}