⚝
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: new-c.ri
U:RDoc::AnyMethod[iI"new:ETI" CSV::new;TT:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"@Returns the new \CSV object created using +string+ or +io+ ;TI"!and the specified +options+.;To:RDoc::Markup::BlankLine o:RDoc::Markup::List: @type:BULLET:@items[o:RDoc::Markup::ListItem:@label0; [o; ; [I"3Argument +string+ should be a \String object; ;TI"Kit will be put into a new StringIO object positioned at the beginning.;To;;0; [o; ; [I"2Argument +io+ should be an IO object that is:;To;; ;;[o;;0; [o; ; [I"?Open for reading; on return, the IO object will be closed.;To;;0; [o; ; [I""Positioned at the beginning. ;TI"ETo position at the end, for appending, use method CSV.generate. ;TI"GFor any other positioning, pass a preset \StringIO object instead.;To;;0; [ o; ; [I"Argument +options+: See:;To;; ;;[o;;0; [o; ; [I"@{Options for Parsing}[#class-CSV-label-Options+for+Parsing];To;;0; [o; ; [I"F{Options for Generating}[#class-CSV-label-Options+for+Generating];To; ; [I"?For performance reasons, the options cannot be overridden ;TI";in a \CSV object, so those specified here will endure.;T@o; ; [I"RIn addition to the \CSV instance methods, several \IO methods are delegated. ;TI"ASee {Delegated Methods}[#class-CSV-label-Delegated+Methods].;T@S:RDoc::Markup::Rule:weighti@o; ; [I"0Create a \CSV object from a \String object:;To:RDoc::Markup::Verbatim; [I"csv = CSV.new('foo,0') ;TI"gcsv # => #<CSV io_type:StringIO encoding:UTF-8 lineno:0 col_sep:"," row_sep:"\n" quote_char:"\""> ;T:@format0o; ; [I".Create a \CSV object from a \File object:;To;; [I""File.write('t.csv', 'foo,0') ;TI"'csv = CSV.new(File.open('t.csv')) ;TI"scsv # => #<CSV io_type:File io_path:"t.csv" encoding:UTF-8 lineno:0 col_sep:"," row_sep:"\n" quote_char:"\""> ;T;0S;;i@o; ; [I"2Raises an exception if the argument is +nil+:;To;; [I"7# Raises ArgumentError (Cannot parse nil as CSV): ;TI"CSV.new(nil);T;0: @fileI"lib/csv.rb;T:0@omit_headings_from_table_of_contents_below0I"SCSV.new(string) CSV.new(io) CSV.new(string, **options) CSV.new(io, **options) ;T0[ I"�(data, col_sep: ",", row_sep: :auto, quote_char: '"', field_size_limit: nil, converters: nil, unconverted_fields: nil, headers: false, return_headers: false, write_headers: nil, header_converters: nil, skip_blanks: false, force_quotes: false, skip_lines: nil, liberal_parsing: false, internal_encoding: nil, external_encoding: nil, encoding: nil, nil_value: nil, empty_value: "", quote_empty: true, write_converters: nil, write_nil_value: nil, write_empty_value: "", strip: false);T@\FI"CSV;TcRDoc::NormalClass00
Simpan