⚝
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
/
Edit File: read-c.ri
U:RDoc::AnyMethod[iI" read:ETI"CSV::read;TT:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"GOpens the given +source+ with the given +options+ (see CSV.open), ;TI">reads the source (see CSV#read), and returns the result, ;TI">which will be either an \Array of Arrays or a CSV::Table.;To:RDoc::Markup::BlankLine 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"DCSV.read(path) # => [["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"QCSV.read(path, headers: true) # => #<CSV::Table mode:col_or_row row_count:4>;T; 0: @fileI"lib/csv.rb;T:0@omit_headings_from_table_of_contents_below0I"dread(source, **options) -> array_of_arrays read(source, headers: true, **options) -> csv_table ;T0[ I"(path, **options);T@#FI"CSV;TcRDoc::NormalClass00
Simpan