| Server IP : 162.214.74.102 / Your IP : 216.73.217.85 Web Server : Apache System : Linux dedi-4363141.lrsys.com.br 3.10.0-1160.119.1.el7.tuxcare.els25.x86_64 #1 SMP Wed Oct 1 17:37:27 UTC 2025 x86_64 User : lrsys ( 1015) PHP Version : 5.6.40 Disable Function : exec,passthru,shell_exec,system MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /proc/self/root/opt/cpanel/ea-ruby24/root/usr/share/ri/system/CSV/ |
Upload File : |
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 <tt>:encoding</tt> 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"P<tt>encoding: "UTF-32BE:UTF-8"</tt> 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