Class: CsvHashReader
- Inherits:
-
Object
- Object
- CsvHashReader
- Defined in:
- lib/csvreader/reader.rb
Class Method Summary collapse
- .foreach(path, sep: Csv.config.sep, headers: true, &block) ⇒ Object
-
.header(path, sep: Csv.config.sep) ⇒ Object
add header too? why? why not?.
- .parse(txt, sep: Csv.config.sep, headers: true) ⇒ Object
- .read(path, sep: Csv.config.sep, headers: true) ⇒ Object
Class Method Details
.foreach(path, sep: Csv.config.sep, headers: true, &block) ⇒ Object
199 200 201 |
# File 'lib/csvreader/reader.rb', line 199 def self.foreach( path, sep: Csv.config.sep, headers: true, &block ) CsvReader.foreach( path, sep: sep, headers: headers, &block ) end |
.header(path, sep: Csv.config.sep) ⇒ Object
add header too? why? why not?
203 204 205 |
# File 'lib/csvreader/reader.rb', line 203 def self.header( path, sep: Csv.config.sep ) ## add header too? why? why not? CsvReader.header( path, sep: sep ) end |