るりまサーチ (Ruby 3.2)

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

別のキーワード

  1. etc sc_xopen_enh_i18n
  2. rsa n
  3. rsa n=
  4. pop n_mails
  5. openssl n

ライブラリ

クラス

検索結果

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?

Pathname#world_writable? -> bool (27307.0)

FileTest.world_writable?(self.to_s) と同じです。

FileTest.world_writable?(self.to_s) と同じです。


@see FileTest.#world_writable?

File::Stat#world_writable? -> Integer | nil (18625.0)

全てのユーザから書き込めるならば、そのファイルのパーミッションを表す 整数を返します。そうでない場合は nil を返します。

全てのユーザから書き込めるならば、そのファイルのパーミッションを表す
整数を返します。そうでない場合は nil を返します。

整数の意味はプラットフォームに依存します。

//emlist[][ruby]{
m = File.stat("/tmp").world_writable? # => 511
sprintf("%o", m) # => "777"
//}