るりまサーチ (Ruby 2.7.0)

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

別のキーワード

  1. _builtin readable?
  2. _builtin readable_real?
  3. _builtin world_readable?
  4. irb/input-method readable_atfer_eof?
  5. pathname readable?

ライブラリ

クラス

検索結果

File::Stat#readable? -> bool (54325.0)

読み込み可能な時に真を返します。

読み込み可能な時に真を返します。

//emlist[][ruby]{
p File::Stat.new($0).readable? #=> true
//}

Net::FTP::MLSxEntry#readable? -> bool (54307.0)

内容が読み出せるなら true を返します。

内容が読み出せるなら true を返します。

Pathname#readable? -> bool (54307.0)

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

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


@see FileTest.#readable?

File::Stat#world_readable? -> Integer | nil (18325.0)

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

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

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

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

Pathname#world_readable? -> bool (18307.0)

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

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


@see FileTest.#world_readable?

絞り込み条件を変える