るりまサーチ

最速Rubyリファレンスマニュアル検索!
11件ヒット [1-11件を表示] (0.014秒)
トップページ > クエリ:ARGF#lines[x] > 種類:特異メソッド[x]

別のキーワード

  1. argf.class lines
  2. argf.class each
  3. argf.class each_line
  4. argf.class gets
  5. argf.class to_a

ライブラリ

クラス

検索結果

CSV.new(data, options = Hash.new) -> CSV (13.0)

このメソッドは CSV ファイルを読み込んだり、書き出したりするために String か IO のインスタンスをラップします。

...d even if it occurs in a quoted field, assuming that you
would have the same line endings there. If none of those sequences is
found, +data+ is ARGF, Object::STDIN, Object::STDOUT, or
Object::STDERR, or the stream is only available for output, the default
$INPUT_RECORD_SEPARATOR ($/) is u...
...空行を読み飛ばします。
: :force_quotes
真を指定すると、全てのフィールドを作成時にクオートします。
: :skip_lines
指定した正規表現にマッチしたそれぞれの行をコメントとして読み飛ばします。

@raise CSV::MalformedCSVError 不...