HEX
Server: Apache
System: Linux vps-cdc32557.vps.ovh.ca 5.15.0-156-generic #166-Ubuntu SMP Sat Aug 9 00:02:46 UTC 2025 x86_64
User: hanode (1017)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: //usr/share/ri/3.0.0/system/CSV/each-i.ri
U:RDoc::AnyMethod[iI"	each:ETI"
CSV#each;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph;	[I"/Calls the block with each successive row. ;TI"0The data source must be opened for reading.;To:RDoc::Markup::BlankLineo;
;	[I"Without headers:;To:RDoc::Markup::Verbatim;	[
I"&string = "foo,0\nbar,1\nbaz,2\n"
;TI"csv = CSV.new(string)
;TI"csv.each do |row|
;TI"
  p row
;TI"	end
;T:@format0o;
;	[I"Output:;To;;	[I"["foo", "0"]
;TI"["bar", "1"]
;TI"["baz", "2"]
;T;
0o;
;	[I"With headers:;To;;	[
I"2string = "Name,Value\nfoo,0\nbar,1\nbaz,2\n"
;TI"*csv = CSV.new(string, headers: true)
;TI"csv.each do |row|
;TI"
  p row
;TI"	end
;T;
0o;
;	[I"Output:;To;;	[I")<CSV::Row "Name":"foo" "Value":"0">
;TI")<CSV::Row "Name":"bar" "Value":"1">
;TI")<CSV::Row "Name":"baz" "Value":"2">
;T;
0S:RDoc::Markup::Rule:weighti@o;
;	[I"ARaises an exception if the source is not opened for reading:;To;;	[I"&string = "foo,0\nbar,1\nbaz,2\n"
;TI"csv = CSV.new(string)
;TI"csv.close
;TI"/# Raises IOError (not opened for reading)
;TI"csv.each do |row|
;TI"
  p row
;TI"end;T;
0:
@fileI"lib/csv.rb;T:0@omit_headings_from_table_of_contents_below0I"1csv.each -> enumerator
csv.each {|row| ...}
;T0[I"
(&block);T@AFI"CSV;TcRDoc::NormalClass00