⚝
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 :
~
/
usr
/
share
/
ri
/
3.0.0
/
system
/
CSV
/
Row
/
View File Name :
to_h-i.ri
U:RDoc::AnyMethod[iI" to_h:ETI"CSV::Row#to_h;TF:publico:RDoc::Markup::Document:@parts[ o:RDoc::Markup::Paragraph; [I"MReturns the new \Hash formed by adding each header-value pair in +self+ ;TI"&as a key-value pair in the \Hash.;To:RDoc::Markup::Verbatim; [ I"2source = "Name,Value\nfoo,0\nbar,1\nbaz,2\n" ;TI".table = CSV.parse(source, headers: true) ;TI"row = table[0] ;TI"1row.to_h # => {"Name"=>"foo", "Value"=>"0"} ;T:@format0o; ; [I"AHeader order is preserved, but repeated headers are ignored:;To;; [ I".source = "Name,Name,Name\nFoo,Bar,Baz\n" ;TI".table = CSV.parse(source, headers: true) ;TI"row = table[0] ;TI""row.to_h # => {"Name"=>"Foo"};T;0: @fileI"lib/csv/row.rb;T:0@omit_headings_from_table_of_contents_below0I"row.to_h -> hash ;T0[[I"to_hash;To;; [ ; @;0I"();T@FI"Row;TcRDoc::NormalClass00