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/read-i.ri
U:RDoc::AnyMethod[iI"	read:ETI"
CSV#read;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph;	[I"/Forms the remaining rows from +self+ into:;To:RDoc::Markup::List:
@type:BULLET:@items[o:RDoc::Markup::ListItem:@label0;	[o;
;	[I"0A CSV::Table object, if headers are in use.;To;;0;	[o;
;	[I"$An \Array of Arrays, otherwise.;To:RDoc::Markup::BlankLineo;
;	[I"0The data source must be opened for reading.;T@o;
;	[I"Without headers:;To:RDoc::Markup::Verbatim;	[
I"&string = "foo,0\nbar,1\nbaz,2\n"
;TI"path = 't.csv'
;TI"File.write(path, string)
;TI"csv = CSV.open(path)
;TI">csv.read # => [["foo", "0"], ["bar", "1"], ["baz", "2"]]
;T:@format0o;
;	[I"With headers:;To;;	[
I"2string = "Name,Value\nfoo,0\nbar,1\nbaz,2\n"
;TI"path = 't.csv'
;TI"File.write(path, string)
;TI")csv = CSV.open(path, headers: true)
;TI"=csv.read # => #<CSV::Table mode:col_or_row row_count:4>
;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.read;T;0:
@fileI"lib/csv.rb;T:0@omit_headings_from_table_of_contents_below0I"$csv.read -> array or csv_table
;T0[[I"readlines;To;;	[;@=;0I"();T@=FI"CSV;TcRDoc::NormalClass00