るりまサーチ

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

別のキーワード

  1. open3 popen2e
  2. socket af_e164
  3. matrix det_e
  4. matrix rank_e
  5. open3 capture2e

ライブラリ

キーワード

検索結果

<< < ... 5 6 7 >>

CSV#pid -> Integer | nil (102.0)

IO#pid に委譲します。

...IO#pid に委譲します。


@see IO#pid...

CSV#pos -> Integer (102.0)

IO#pos, IO#tell に委譲します。

...IO#pos, IO#tell に委譲します。


@see IO#pos, IO#tell...

CSV#puts(row) -> self (102.0)

自身に row を追加します。

... CSV::Row のインスタンスを指定します。
CSV
::Row のインスタンスが指定された場合は、CSV::Row#fields の値
のみが追加されます。

//emlist[例 配列を指定][ruby]{
require "csv"

File.write("test.csv", <<CSV)
id,first name,last name,age...
...i,adachi,21
CSV

CSV
.open("test.csv", "a") do |csv|
csv
.puts(["5", "saburo", "kondo", "34"])
e
nd

print File.read("test.csv")
# => id,first name,last name,age
# 1,taro,tanaka,20
# 2,jiro,suzuki,18
# 3,ami,sato,19
# 4,yumi,adachi,21
# 5,saburo,kondo,34
//}

//emlist[例 CSV::Row を...
...y]{
require "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

CSV
.open("test.csv", "a") do |csv|
row = CSV::Row.new(["id", "first name", "last name", "age"], ["5", "saburo", "kondo", "34"])
csv
.add_row(row)
e
nd...

CSV#stat -> File::Stat (102.0)

IO#stat に委譲します。

...IO#stat に委譲します。


@see IO#stat...

CSV#sync=(newstate) (102.0)

IO#sync= に委譲します。

...IO#sync= に委譲します。


@see IO#sync=...

絞り込み条件を変える

CSV#to_io -> self (102.0)

IO#to_io に委譲します。

...IO#to_io に委譲します。


@see IO#to_io...
<< < ... 5 6 7 >>