Class: ROM::CSV::Dataset
- Inherits:
-
Memory::Dataset
- Object
- Memory::Dataset
- ROM::CSV::Dataset
- Defined in:
- lib/rom/csv/dataset.rb
Overview
Dataset for CSV
Class Method Summary collapse
-
.row_proc ⇒ Object
Convert each CSV::Row to a hash.
Class Method Details
.row_proc ⇒ Object
Convert each CSV::Row to a hash
12 13 14 |
# File 'lib/rom/csv/dataset.rb', line 12 def self.row_proc -> row { row.to_hash } end |