るりまサーチ

最速Rubyリファレンスマニュアル検索!
22件ヒット [1-22件を表示] (0.223秒)
トップページ > クエリ:i[x] > クエリ:-[x] > 種類:インスタンスメソッド[x] > クエリ:t[x] > クエリ:world_writable?[x]

別のキーワード

  1. openssl t61string
  2. asn1 t61string
  3. t61string new
  4. fiddle type_uintptr_t
  5. fiddle align_ssize_t

ライブラリ

クラス

検索結果

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

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

...ーミッションを表す
整数を返します。そうでない場合は nil を返します。

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

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

Pathname#world_writable? -> bool (30402.0)

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

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


@see FileTest.#world_writable?...