Table of Contents - RDoc Documentation
Pages
- LICENSE
-
NEWS
- News
- 3.3.0 - 2024-03-22
- Fixes
- 3.2.9 - 2024-03-22
- Fixes
- Thanks
- 3.2.8 - 2023-11-08
- Improvements
- Thanks
- 3.2.7 - 2023-06-26
- Improvements
- Fixes
- Thanks
- 3.2.6 - 2022-12-08
- Improvements
- Fixes
- Thanks
- 3.2.5 - 2022-08-26
- Improvements
- Thanks
- 3.2.4 - 2022-08-22
- Improvements
- Fixes
- Thanks
- 3.2.3 - 2022-04-09
- Improvements
- Fixes
- Thanks
- 3.2.2 - 2021-12-24
- Improvements
- Fixes
- Thanks
- 3.2.1 - 2021-10-23
- Improvements
- Thanks
- 3.2.0 - 2021-06-06
- Improvements
- Fixes
- Thanks
- 3.1.9 - 2020-11-23
- Fixes
- Thanks
- 3.1.8 - 2020-11-18
- Improvements
- Thanks
- 3.1.7 - 2020-08-04
- Improvements
- Thanks
- 3.1.6 - 2020-07-20
- Improvements
- Thanks
- 3.1.5 - 2020-05-18
- Improvements
- Fixes
- Thanks
- 3.1.4 - 2020-05-17
- Improvements
- Fixes
- Thanks
- 3.1.3 - 2020-05-09
- Improvements
- Fixes
- Thanks
- 3.1.2 - 2019-10-12
- Improvements
- Fixes
- Thanks
- 3.1.1 - 2019-04-26
- Improvements
- Fixes
- Thanks
- 3.1.0 - 2019-04-17
- Fixes
- Thanks
- 3.0.9 - 2019-04-15
- Fixes
- 3.0.8 - 2019-04-11
- Fixes
- 3.0.7 - 2019-04-08
- Improvements
- Fixes
- 3.0.6 - 2019-03-30
- Improvements
- 3.0.5 - 2019-03-24
- Improvements
- Fixes
- Thanks
- 3.0.4 - 2019-01-25
- Improvements
- Fixes
- Thanks
- 3.0.3 - 2019-01-12
- Improvements
- Fixes
- Thanks
- 3.0.2 - 2018-12-23
- Improvements
- Fixes
- Thanks
- 3.0.1 - 2018-12-07
- Improvements
- Fixes
- Thanks
- 3.0.0 - 2018-06-06
- Fixes
- Thanks
- 1.0.2 - 2018-05-03
- Improvements
- Fixes
- Thanks
- 1.0.1 - 2018-02-09
- Improvements
- Fixes
- Thanks
- README
-
filtering
- Recipes for Filtering CSV
- Contents
- Source and Output Formats
- Filtering String to String
- Recipe: Filter String to String parsing Headers
- Recipe: Filter String to String parsing and writing Headers
- Recipe: Filter String to String Without Headers
- Filtering String to IO Stream
- Recipe: Filter String to IO Stream parsing Headers
- Recipe: Filter String to IO Stream parsing and writing Headers
- Recipe: Filter String to IO Stream Without Headers
- Filtering IO Stream to String
- Recipe: Filter IO Stream to String parsing Headers
- Recipe: Filter IO Stream to String parsing and writing Headers
- Recipe: Filter IO Stream to String Without Headers
- Filtering IO Stream to IO Stream
- Recipe: Filter IO Stream to IO Stream parsing Headers
- Recipe: Filter IO Stream to IO Stream parsing and writing Headers
- Recipe: Filter IO Stream to IO Stream Without Headers
-
generating
- Recipes for Generating CSV
- Contents
- Output Formats
- Generating to a String
- Recipe: Generate to String with Headers
- Recipe: Generate to String Without Headers
- Generating to a File
- Recipe: Generate to File with Headers
- Recipe: Generate to File Without Headers
- Generating to an IO Stream
- Recipe: Generate to IO Stream with Headers
- Recipe: Generate to IO Stream Without Headers
- Converting Fields
- Recipe: Filter Generated Field Strings
- Recipe: Specify Multiple Write Converters
- RFC 4180 Compliance
- Row Separator
- Recipe: Generate Compliant Row Separator
- Recipe: Generate Non-Compliant Row Separator
- Column Separator
- Recipe: Generate Compliant Column Separator
- Recipe: Generate Non-Compliant Column Separator
- Quotes
- Recipe: Quote All Fields
- Recipe: Quote Empty Fields
- Recipe: Generate Compliant Quote Character
- Recipe: Generate Non-Compliant Quote Character
-
parsing
- Recipes for Parsing CSV
- Contents
- Source Formats
- Parsing from a String
- Recipe: Parse from String with Headers
- Recipe: Parse from String Without Headers
- Parsing from a File
- Recipe: Parse from File with Headers
- Recipe: Parse from File Without Headers
- Parsing from an IO Stream
- Recipe: Parse from IO Stream with Headers
- Recipe: Parse from IO Stream Without Headers
- RFC 4180 Compliance
- Row Separator
- Recipe: Handle Compliant Row Separator
- Recipe: Handle Non-Compliant Row Separator
- Column Separator
- Recipe: Handle Compliant Column Separator
- Recipe: Handle Non-Compliant Column Separator
- Quote Character
- Recipe: Handle Compliant Quote Character
- Recipe: Handle Non-Compliant Quote Character
- Recipe: Allow Liberal Parsing
- Special Handling
- Special Line Handling
- Recipe: Ignore Blank Lines
- Recipe: Ignore Selected Lines
- Special Field Handling
- Recipe: Strip Fields
- Recipe: Handle Null Fields
- Recipe: Handle Empty Fields
- Converting Fields
- Converting Fields to Objects
- Recipe: Convert Fields to Integers
- Recipe: Convert Fields to Floats
- Recipe: Convert Fields to Numerics
- Recipe: Convert Fields to Dates
- Recipe: Convert Fields to DateTimes
- Recipe: Convert Fields to Times
- Recipe: Convert Assorted Fields to Objects
- Recipe: Convert Fields to Other Objects
- Recipe: Filter Field Strings
- Recipe: Register Field Converters
- Using Multiple Field Converters
- Recipe: Specify Multiple Field Converters in Option
:converters
- Recipe: Specify Multiple Field Converters in a Custom Converter List
- Converting Headers
- Recipe: Convert Headers to Lowercase
- Recipe: Convert Headers to Symbols
- Recipe: Filter Header Strings
- Recipe: Register Header Converters
- Using Multiple Header Converters
- Recipe: Specify Multiple Header Converters in Option :header_converters
- Recipe: Specify Multiple Header Converters in a Custom Header Converter List
- Diagnostics
- Recipe: Capture Unconverted Fields
- Recipe: Capture Field Info
- recipes
Classes and Modules
-
CSV
- CSV
- CSV Data
- Class CSV
- Keeping It Simple
- Simple Parsing
- Parsing a String
- Parsing Via a File Path
- Parsing from an Open IO Stream
- Simple Generating
- “Filtering” CSV
- CSV Objects
- Instance Methods
- Delegated Methods
- Options
- Options for Parsing
- Option
row_sep
- Option
col_sep
- Option
quote_char
- Option
field_size_limit
- Option
converters
- Option
unconverted_fields
- Option
headers
- Option
return_headers
- Option
header_converters
- Option
skip_blanks
- Option
skip_lines
- Option
strip
- Option
liberal_parsing
- Option
nil_value
- Option
empty_value
- Options for Generating
- Option
row_sep
- Option
col_sep
- Option
quote_char
- Option
write_headers
- Option
force_quotes
- Option
quote_empty
- Option
write_converters
- Option
write_nil_value
- Option
write_empty_value
- CSV with Headers
- Converters
- Specifying Converters
- Converter Procs
- Stored Converters
- Converter Lists
- Field Converters
- Built-In Field Converters
- Custom Field Converters
- Header Converters
- Built-In Header Converters
- Custom Header Converters
- Write Converters
- Character Encodings (M17n or Multilingualization)
- CSV::FieldsConverter
- CSV::InputRecordSeparator
- CSV::InvalidEncodingError
- CSV::MalformedCSVError
- CSV::Parser
- CSV::Parser::InputsScanner
- CSV::Parser::InvalidEncoding
- CSV::Parser::Scanner
- CSV::Parser::UnexpectedError
- CSV::Row
- CSV::Table
- CSV::Writer
- Object
Methods
- ::filter — CSV
- ::foreach — CSV
- ::generate — CSV
- ::generate_line — CSV
- ::generate_lines — CSV
- ::instance — CSV
- ::new — CSV
- ::new — CSV::MalformedCSVError
- ::new — CSV::InvalidEncodingError
- ::new — CSV::FieldsConverter
- ::new — CSV::Parser
- ::new — CSV::Parser::Scanner
- ::new — CSV::Parser::InputsScanner
- ::new — CSV::Row
- ::new — CSV::Table
- ::new — CSV::Writer
- ::open — CSV
- ::parse — CSV
- ::parse_line — CSV
- ::read — CSV
- ::readlines — CSV
- ::table — CSV
- ::value — CSV::InputRecordSeparator
- #<< — CSV
- #<< — CSV::Row
- #<< — CSV::Table
- #<< — CSV::Writer
- #== — CSV::Row
- #== — CSV::Table
- #CSV — Object
- #[] — CSV::Row
- #[] — CSV::Table
- #[]= — CSV::Row
- #[]= — CSV::Table
- #add_converter — CSV::FieldsConverter
- #add_row — CSV
- #binmode? — CSV
- #by_col — CSV::Table
- #by_col! — CSV::Table
- #by_col_or_row — CSV::Table
- #by_col_or_row! — CSV::Table
- #by_row — CSV::Table
- #by_row! — CSV::Table
- #check — CSV::Parser::InputsScanner
- #col_sep — CSV
- #column_separator — CSV::Parser
- #convert — CSV
- #convert — CSV::FieldsConverter
- #converters — CSV
- #deconstruct — CSV::Row
- #deconstruct_keys — CSV::Row
- #delete — CSV::Row
- #delete — CSV::Table
- #delete_if — CSV::Row
- #delete_if — CSV::Table
- #dig — CSV::Row
- #dig — CSV::Table
- #each — CSV
- #each — CSV::FieldsConverter
- #each — CSV::Row
- #each — CSV::Table
- #each_line — CSV::Parser::Scanner
- #each_line — CSV::Parser::InputsScanner
- #each_pair — CSV::Row
- #empty? — CSV::FieldsConverter
- #eof — CSV
- #eof? — CSV
- #eos? — CSV::Parser::InputsScanner
- #fetch — CSV::Row
- #field — CSV::Row
- #field? — CSV::Row
- #field_row? — CSV::Row
- #field_size_limit — CSV
- #field_size_limit — CSV::Parser
- #fields — CSV::Row
- #flock — CSV
- #force_quotes? — CSV
- #gets — CSV
- #has_key? — CSV::Row
- #header? — CSV::Row
- #header_convert — CSV
- #header_converters — CSV
- #header_row? — CSV
- #header_row? — CSV::Parser
- #header_row? — CSV::Row
- #headers — CSV
- #headers — CSV::Parser
- #headers — CSV::Row
- #headers — CSV::Table
- #include? — CSV::Row
- #index — CSV::Row
- #initialize_copy — CSV::Row
- #inspect — CSV
- #inspect — CSV::Row
- #inspect — CSV::Table
- #ioctl — CSV
- #keep_back — CSV::Parser::Scanner
- #keep_back — CSV::Parser::InputsScanner
- #keep_drop — CSV::Parser::Scanner
- #keep_drop — CSV::Parser::InputsScanner
- #keep_end — CSV::Parser::Scanner
- #keep_end — CSV::Parser::InputsScanner
- #keep_start — CSV::Parser::Scanner
- #keep_start — CSV::Parser::InputsScanner
- #key? — CSV::Row
- #liberal_parsing? — CSV
- #liberal_parsing? — CSV::Parser
- #line — CSV
- #line — CSV::Parser
- #lineno — CSV
- #lineno — CSV::Parser
- #max_field_size — CSV
- #max_field_size — CSV::Parser
- #member? — CSV::Row
- #parse — CSV::Parser
- #path — CSV
- #push — CSV::Row
- #push — CSV::Table
- #puts — CSV
- #quote_char — CSV
- #quote_character — CSV::Parser
- #read — CSV
- #readline — CSV
- #readlines — CSV
- #rest — CSV::Parser::InputsScanner
- #return_headers? — CSV
- #return_headers? — CSV::Parser
- #rewind — CSV
- #rewind — CSV::Writer
- #row_sep — CSV
- #row_separator — CSV::Parser
- #scan — CSV::Parser::InputsScanner
- #scan_all — CSV::Parser::InputsScanner
- #shift — CSV
- #skip_blanks? — CSV
- #skip_blanks? — CSV::Parser
- #skip_lines — CSV
- #skip_lines — CSV::Parser
- #stat — CSV
- #to_a — CSV::Table
- #to_csv — CSV::Row
- #to_csv — CSV::Table
- #to_h — CSV::Row
- #to_hash — CSV::Row
- #to_i — CSV
- #to_io — CSV
- #to_s — CSV::Row
- #to_s — CSV::Table
- #unconverted_fields? — CSV
- #unconverted_fields? — CSV::Parser
- #use_headers? — CSV::Parser
- #values_at — CSV::Row
- #values_at — CSV::Table
- #write_headers? — CSV