るりまサーチ

最速Rubyリファレンスマニュアル検索!
422件ヒット [401-422件を表示] (0.115秒)
トップページ > クエリ:t[x] > クエリ:ruby[x] > 種類:特異メソッド[x] > クラス:File[x]

別のキーワード

  1. openssl t61string
  2. asn1 t61string
  3. matrix t
  4. t61string new
  5. fiddle type_size_t

ライブラリ

キーワード

検索結果

<< < ... 3 4 5 >>

File.world_readable?(path) -> Integer | nil (108.0)

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

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

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

@param path パスを表す文字列か IO オブジェク...
...トを指定します。

//emlist[例][ruby]{
m = File.world_readable?("/etc/passwd")
"%o" % m # => "644"
//}...

File.umask -> Integer (103.0)

現在の umask の値を返します。

現在の umask の値を返します。

@see umask(2)
<< < ... 3 4 5 >>