⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.189
Server IP:
109.199.105.153
Server:
Linux connect.inboxifs.com 5.15.0-152-generic #162-Ubuntu SMP Wed Jul 23 09:48:42 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
8.2.29
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
ri
/
3.0.0
/
system
/
CSV
/
Row
/
Edit File: %3c%3c-i.ri
U:RDoc::AnyMethod[iI"<<:ETI"CSV::Row#<<;TF:publico:RDoc::Markup::Document:@parts[ o:RDoc::Markup::Paragraph; [I",Adds a field to +self+; returns +self+:;To:RDoc::Markup::BlankLine o; ; [I"EIf the argument is a 2-element \Array <tt>[header, value]</tt>, ;TI":a field is added with the given +header+ and +value+:;To:RDoc::Markup::Verbatim; [ I".source = "Name,Name,Name\nFoo,Bar,Baz\n" ;TI".table = CSV.parse(source, headers: true) ;TI"row = table[0] ;TI"row << ['NAME', 'Bat'] ;TI"Nrow # => #<CSV::Row "Name":"Foo" "Name":"Bar" "Name":"Baz" "NAME":"Bat"> ;T:@format0o; ; [I"GIf the argument is a \Hash, each <tt>key-value</tt> pair is added ;TI"4as a field with header +key+ and value +value+.;To;; [ I".source = "Name,Name,Name\nFoo,Bar,Baz\n" ;TI".table = CSV.parse(source, headers: true) ;TI"row = table[0] ;TI"'row << {NAME: 'Bat', name: 'Bam'} ;TI"Wrow # => #<CSV::Row "Name":"Foo" "Name":"Bar" "Name":"Baz" NAME:"Bat" name:"Bam"> ;T; 0o; ; [I"EOtherwise, the given +value+ is added as a field with no header.;To;; [ I".source = "Name,Name,Name\nFoo,Bar,Baz\n" ;TI".table = CSV.parse(source, headers: true) ;TI"row = table[0] ;TI"row << 'Bag' ;TI"Jrow # => #<CSV::Row "Name":"Foo" "Name":"Bar" "Name":"Baz" nil:"Bag">;T; 0: @fileI"lib/csv/row.rb;T:0@omit_headings_from_table_of_contents_below0I"Mrow << [header, value] -> self row << hash -> self row << value -> self ;T0[ I" (arg);T@/FI"Row;TcRDoc::NormalClass00
Simpan