D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
alt
/
ruby18
/
share
/
ri
/
1.8
/
system
/
CSV
/
IOBuf
/
Filename :
cdesc-IOBuf.yaml
back
Copy
--- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: Buffered IO. - !ruby/struct:SM::Flow::P body: EXAMPLE - !ruby/struct:SM::Flow::VERB body: " # File 'bigdata' could be a giga-byte size one!\n buf = CSV::IOBuf.new(File.open('bigdata', 'rb'))\n CSV::Reader.new(buf).each do |row|\n p row\n break if row[0].data == 'admin'\n end\n" constants: [] full_name: CSV::IOBuf includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: close - !ruby/object:RI::MethodSummary name: read - !ruby/object:RI::MethodSummary name: terminate name: IOBuf superclass: StreamBuf