Linux SRV-16 6.18.44-paas #1 SMP PREEMPT_DYNAMIC Thu Aug 13 10:08:12 UTC 2026 x86_64
/
proc
/
self
/
root
/
proc
/
thread-self
/
root
/
opt
/
ruby-2.7
/
usr
/
share
/
ri
/
2.7.0
/
system
/
CSV
/
//proc/self/root/proc/thread-self/root/opt/ruby-2.7/usr/share/ri/2.7.0/system/CSV/generate-c.ri
U:RDoc::AnyMethod[iI" generate:ETI"CSV::generate;TT:publico:RDoc::Markup::Document:@parts[ o:RDoc::Markup::Paragraph; [ I"NThis method wraps a String you provide, or an empty default String, in a ;TI"PCSV object which is passed to the provided block. You can use the block to ;TI"Nappend CSV rows to the String and when the block exits, the final String ;TI"will be returned.;To:RDoc::Markup::BlankLine o; ; [I"ONote that a passed String *is* modified by this method. Call dup() before ;TI"&passing if you need a new String.;T@o; ; [ I"RThe +options+ parameter can be anything CSV::new() understands. This method ;TI"Nunderstands an additional <tt>:encoding</tt> parameter when not passed a ;TI"QString to set the base Encoding for the output. CSV needs this hint if you ;TI".plan to output non-ASCII compatible data.;T: @fileI"lib/csv.rb;T:0@omit_headings_from_table_of_contents_below0I"Rgenerate( str, **options ) { |csv| ... } generate( **options ) { |csv| ... } ;TI"csv;T[ I"(str=nil, **options);T@FI"CSV;TcRDoc::NormalClass00