561件ヒット
[1-100件を表示]
(0.031秒)
ライブラリ
- ビルトイン (160)
- csv (168)
- etc (12)
- readline (24)
-
rinda
/ rinda (24) -
rinda
/ tuplespace (24) -
rubygems
/ source _ info _ cache (12) - shell (24)
-
shell
/ command-processor (24) -
shell
/ filter (24) - thread (8)
- thwait (12)
- timeout (21)
- zlib (12)
クラス
- CSV (132)
-
CSV
:: Table (36) - File (12)
-
Gem
:: SourceInfoCache (12) - IO (48)
-
Rinda
:: TupleSpace (24) -
Rinda
:: TupleSpaceProxy (24) - Shell (24)
-
Shell
:: CommandProcessor (24) -
Shell
:: Filter (24) - Thread (12)
-
Thread
:: Queue (24) -
Thread
:: SizedQueue (24) - ThreadsWait (6)
-
Zlib
:: GzipWriter (12)
オブジェクト
-
Readline
:: HISTORY (24)
キーワード
- ErrNoFinishedThread (6)
-
SC
_ THREAD _ PROCESS _ SHARED (12) -
close
_ read (12) -
close
_ write (12) - closed? (12)
- finished? (6)
- flock (12)
- flush (24)
-
handle
_ interrupt (12) - instance (24)
- new (12)
- open (48)
- push (48)
-
read
_ all (24) -
read
_ cache _ data (12) - readable? (18)
-
readable
_ real? (18) - readlines (12)
- readlink (18)
-
ruby 1
. 9 feature (12) - shift (48)
- spawn (48)
- table (12)
- timeout (21)
-
to
_ csv (12) -
to
_ s (12) -
world
_ readable? (18)
検索結果
先頭5件
-
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"
Readline::HISTORY.push("foo")
p Readline::HISTORY[-1] #=> "foo"
例: "foo"、"bar"を追加する。
require "readline"
Readline::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"
Readline::HISTORY.push("foo", "bar", "baz")
p Readline::HISTORY.shift #=> "foo"
p Readline::HISTORY.shift #=> "bar"
p Readline::HISTORY.shift #=> "baz"
@see Readline::HISTORY.push、Readline::HISTORY.pop、
Readline::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?...