⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.133
Server IP:
185.119.109.197
Server:
Linux managedhosting.chostar.me 5.15.0-160-generic #170-Ubuntu SMP Wed Oct 1 10:06:56 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
8.1.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
proc
/
self
/
root
/
usr
/
share
/
ri
/
3.0.0
/
system
/
CSV
/
View File Name :
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::BlankLine o; ; [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 # => #
;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