U:RDoc::AnyMethod[iI"foreach:EFI"CSV::foreach;TT:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"RThis method is intended as the primary interface for reading CSV files. You ;TI"Ppass a +path+ and any +options+ you wish to set for the read. Each row of ;TI"9file will be passed to the provided +block+ in turn.;To:RDoc::Markup::BlankLine o;
; [
I"RThe +options+ parameter can be anything CSV::new() understands. This method ;TI"Ralso understands an additional :encoding parameter that you can use ;TI"Rto specify the Encoding of the data in the file to be read. You must provide ;TI"Rthis unless your data is in Encoding::default_external(). CSV will use this ;TI"Oto determine how to parse the data. You may provide a second Encoding to ;TI";have the data transcoded as it is read. For example, ;TI"Pencoding: "UTF-32BE:UTF-8" would read UTF-32BE data from the file ;TI"4but transcode it to UTF-8 before CSV parses it.;T:
@fileI"lib/csv.rb;T:0@omit_headings_from_table_of_contents_below000[ I"'(path, options = Hash.new, &block);T@FI"CSV;TcRDoc::NormalClass00