るりまサーチ (Ruby 2.5.0)

最速Rubyリファレンスマニュアル検索!
10件ヒット [1-10件を表示] (0.139秒)
トップページ > クエリ:IO[x] > バージョン:2.5.0[x] > クエリ:l[x] > 種類:インスタンスメソッド[x] > クエリ:a[x] > クラス:CSV[x]

別のキーワード

  1. io popen
  2. io pipe
  3. io each
  4. io each_line
  5. io readlines

ライブラリ

キーワード

検索結果

CSV#ioctl(cmd, arg = 0) -> Integer (36973.0)

IO#ioctl に委譲します。

IO#ioctl に委譲します。


@see IO#ioctl

CSV#close_read -> nil (36673.0)

IO#close_read に委譲します。

IO#close_read に委譲します。


@see IO#close_read

CSV#internal_encoding -> Encoding | nil (36673.0)

IO#internal_encoding に委譲します。

IO#internal_encoding に委譲します。


@see IO#internal_encoding

CSV#external_encoding -> Encoding | nil (36655.0)

IO#external_encoding に委譲します。

IO#external_encoding に委譲します。

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

IO#stat に委譲します。

IO#stat に委譲します。


@see IO#stat

絞り込み条件を変える

CSV#flock(operation) -> 0 | false (18907.0)

File#flock に委譲します。

File#flock に委譲します。

CSV#isatty -> bool (18739.0)

IO#isatty, IO#tty? に委譲します。

IO#isatty, IO#tty? に委譲します。


@see IO#isatty, IO#tty?

CSV#fcntl(cmd, arg = 0) -> Integer (18655.0)

IO#fcntl に委譲します。

IO#fcntl に委譲します。

CSV#readline -> Array | CSV::Row (18655.0)

String や IO をラップしたデータソースから一行だけ読み込んで フィールドの配列か CSV::Row のインスタンスを返します。

...ールドの配列か CSV::Row のインスタンスを返します。

データソースは読み込み用にオープンされている必要があります。

@return ヘッダを使用しない場合は配列を返します。
ヘッダを使用する場合は CSV::Row を返します...
...

//emlist[例][ruby]{
require "csv"

csv
= CSV.new(DATA.read)
csv
.readline # => ["header1", "header2"]
csv
.readline # => ["row1_1", "row1_2"]

__END__
header1,header2
row1_1,row1_2
//}...

CSV#tty? -> bool (9439.0)

IO#isatty, IO#tty? に委譲します。

IO#isatty, IO#tty? に委譲します。


@see IO#isatty, IO#tty?

絞り込み条件を変える