⚝
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 :
header_convert-i.ri
U:RDoc::AnyMethod[iI"header_convert:ETI"CSV#header_convert;TF:publico:RDoc::Markup::Document:@parts[ o:RDoc::Markup::Paragraph; [I"0The block need not return a \String object:;To:RDoc::Markup::Verbatim; [ I")csv = CSV.open(path, headers: true) ;TI">csv.header_convert {|header, field_info| header.to_sym } ;TI"table = csv.read ;TI"(table.headers # => [:Name, :Value] ;T:@format0o; ; [I";If +converter_name+ is given, the block is not called:;To;; [ I")csv = CSV.open(path, headers: true) ;TI"Pcsv.header_convert(:downcase) {|header, field_info| fail 'Cannot happen' } ;TI"table = csv.read ;TI"*table.headers # => ["name", "value"] ;T;0S:RDoc::Markup::Rule:weightio:RDoc::Markup::BlankLine o; ; [I"URaises a parse-time exception if +converter_name+ is not the name of a built-in ;TI"field converter:;To;; [ I")csv = CSV.open(path, headers: true) ;TI"!csv.header_convert(:nosuch) ;TI"H# Raises NoMethodError (undefined method `arity' for nil:NilClass) ;TI" csv.read;T;0: @fileI"lib/csv.rb;T:0@omit_headings_from_table_of_contents_below000[ I"(name = nil, &converter);T@)FI"CSV;TcRDoc::NormalClass00