るりまサーチ (Ruby 2.1.0)

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

別のキーワード

  1. stringio read
  2. _builtin read
  3. csv read
  4. io read
  5. tuple read_all

検索結果

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

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

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

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

Pathname#readable? -> bool (72607.0)

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

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


@see FileTest.#readable?

Shell#readable?(file) -> bool (72604.0)

FileTest モジュールにある同名のクラスメソッドと同じです.

FileTest モジュールにある同名のクラスメソッドと同じです.

@param file ファイル名を表す文字列を指定します。

@see FileTest.#readable?

Shell::CommandProcessor#readable?(file) -> bool (72604.0)

FileTest モジュールにある同名のクラスメソッドと同じです.

FileTest モジュールにある同名のクラスメソッドと同じです.

@param file ファイル名を表す文字列を指定します。

@see FileTest.#readable?

Shell::Filter#readable?(file) -> bool (72604.0)

FileTest モジュールにある同名のクラスメソッドと同じです.

FileTest モジュールにある同名のクラスメソッドと同じです.

@param file ファイル名を表す文字列を指定します。

@see FileTest.#readable?

絞り込み条件を変える

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

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

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

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

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

Pathname#world_readable? -> bool (36607.0)

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

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


@see FileTest.#world_readable?

Shell#world_readable? (36607.0)

@todo

@todo

Shell::CommandProcessor#world_readable? (36607.0)

@todo

@todo

Shell::Filter#world_readable? (36607.0)

@todo

@todo

絞り込み条件を変える