| Class | CSV::Reader |
| In: |
lib/csv.rb
|
| Parent: | Object |
CSV formatted string/stream reader.
EXAMPLE
read CSV lines untill the first column is 'stop'.
CSV::Reader.parse(File.open('bigdata', 'rb')) do |row|
p row
break if !row[0].is_null && row[0].data == 'stop'
end
ruby-doc.org is a community service provided by James Britt and Rising Tide Software, a Phoenix, Arizona, Ruby application development company.
Documentation content on ruby-doc.org is provided by remarkable members of the Ruby community.
For more information on the Ruby programming language, visit ruby-lang.org.
Want to help improve Ruby's API docs? See Ruby Documentation Guidelines.