るりまサーチ

最速Rubyリファレンスマニュアル検索!
561件ヒット [1-100件を表示] (0.031秒)
トップページ > クエリ:sh[x] > クエリ:read[x]

別のキーワード

  1. rake sh
  2. fileutils sh
  3. constants lock_sh
  4. _builtin lock_sh
  5. sync sh

ライブラリ

モジュール

オブジェクト

キーワード

検索結果

<< 1 2 3 ... > >>

Rinda::TupleSpaceProxy#read(tuple, sec=nil) -> [Array|Hash] (18225.0)

タプルスペース内の tuple にマッチするタプルを一つコピーして返します。

...オブジェクトの Rinda::TupleSpace#read にフォワードされます。
詳細は Rinda::TupleSpace#read を参照してください。

@param tuple タプルのパターン
@param sec タイムアウト秒数
@raise Rinda::RequestExpiredError read がタイムアウトした場合に発生...
...します
@raise Ridna::RequestCanceledError read が何らかの理由でキャンセルされた場合に発生します。...

Rinda::TupleSpace#read(tuple, sec=nil) -> [Array|Hash] (18219.0)

タプルスペース内の tuple にマッチするタプルを一つコピーして返します。

...時には read をあきらめ
例外 Rinda::RequestExpiredError を発生させます。
sec に nil を指定するとタイムアウトせずに無限に待ち続けます。

@param tuple タプルのパターン
@param sec タイムアウト秒数
@raise Rinda::RequestExpiredError read がタ...
...イムアウトした場合に発生します
@raise Ridna::RequestCanceledError read が何らかの理由でキャンセルされた場合に発生します。...

CSV.read(path, options = Hash.new) -> [Array] | CSV::Table (18213.0)

CSV ファイルを配列の配列にするために使います。 headers オプションに偽でない値を指定した場合は CSV::Table オブジェクトを返します。

...equire "pp"

File.write("test.csv", <<CSV)
id,first name,last name,age
1,taro,tanaka,20
2,jiro,suzuki,18
3,ami,sato,19
4,yumi,adachi,21
CSV

pp CSV.read("test.csv")

# => [["id", "first name", "last name", "age"],
# ["1", "taro", "tanaka", "20"],
# ["2", "jiro", "suzuki", "18"],
# ["3", "am...
..."csv"

File.write("test.csv", <<CSV)
id,first name,last name,age
1,taro,tanaka,20
2,jiro,suzuki,18
3,ami,sato,19
4,yumi,adachi,21
CSV

table = CSV.read("test.csv", headers: true)
p table.class # => CSV::Table
p table[0] # => #<CSV::Row "id":"1" "first name":"taro" "last name":"tanaka" "age":"20"...

ThreadsWait::ErrNoFinishedThread (15000.0)

nonblock がtrue でかつ、キューが空の時、発生します。

...nonblock がtrue でかつ、キューが空の時、発生します。

@see ThreadsWait#next_wait...

Readline::HISTORY.push(*string) -> self (9100.0)

ヒストリの最後に string で指定した文字列を追加します。複数の string を指定できます。 self を返します。

...る。

require "readline"

Read
line::HISTORY.push("foo")
p Readline::HISTORY[-1] #=> "foo"

例: "foo"、"bar"を追加する。

require "readline"

Read
line::HISTORY.push("foo", "bar")
p Readline::HISTORY[-1] #=> "bar"
p Readline::HISTORY[-2] #=> "foo"

@see Readline::HISTORY.<<...

絞り込み条件を変える

Readline::HISTORY.shift -> String (9100.0)

ヒストリの最初の内容を取り出します。 最初の内容は、ヒストリから取り除かれます。

...発生します。

例:

require "readline"

Read
line::HISTORY.push("foo", "bar", "baz")
p Readline::HISTORY.shift #=> "foo"
p Readline::HISTORY.shift #=> "bar"
p Readline::HISTORY.shift #=> "baz"

@see Readline::HISTORY.pushReadline::HISTORY.pop、
Read
line::HISTORY.delete_at...

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

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

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

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

@see FileTest.#readable?...

Shell#readable_real?(file) -> bool (9100.0)

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

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

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

@see FileTest.#readable_real?...

Shell#readlink(path) -> String (9100.0)

File クラスにある同名のクラスメソッドと同じです.

...File クラスにある同名のクラスメソッドと同じです.

@param path シンボリックリンクを表す文字列を指定します。

@see File.readlink...

Shell#world_readable? (9100.0)

@todo

@todo

絞り込み条件を変える

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

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

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

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

@see FileTest.#readable?...

Shell::CommandProcessor#readable_real?(file) -> bool (9100.0)

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

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

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

@see FileTest.#readable_real?...
<< 1 2 3 ... > >>