D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
alt
/
ruby18
/
share
/
ri
/
1.8
/
system
/
CSV
/
Writer
/
Filename :
cdesc-Writer.yaml
back
Copy
--- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: create - !ruby/object:RI::MethodSummary name: generate - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: CSV formatted string/stream writer. - !ruby/struct:SM::Flow::P body: EXAMPLE - !ruby/struct:SM::Flow::VERB body: " Write rows to 'csvout' file.\n\n outfile = File.open('csvout', 'wb')\n CSV::Writer.generate(outfile) do |csv|\n csv << ['c1', nil, '', '"', "\\r\\n", 'c2']\n ...\n end\n\n outfile.close\n" constants: [] full_name: CSV::Writer includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: "<<" - !ruby/object:RI::MethodSummary name: add_row - !ruby/object:RI::MethodSummary name: close - !ruby/object:RI::MethodSummary name: terminate name: Writer superclass: Object