class

CSV::IOBuf

ruby latest stable - Superclass: StreamBuf

Class deprecated or moved

This class is deprecated or moved on the latest stable version. The last existing version (v1_8_7_330) is shown here.

Buffered IO.

EXAMPLE

# File 'bigdata' could be a giga-byte size one!
buf = CSV::IOBuf.new(File.open('bigdata', 'rb'))
CSV::Reader.new(buf).each do |row|
  p row
  break if row[0].data == 'admin'
end

Files

  • lib/csv.rb