Sha256: b5e7f4463aa45e62e2ae2f0d9989b5ac6d90432ff2cf45ffece64d2f398faec8
Contents?: true
Size: 385 Bytes
Versions: 1
Compression:
Stored size: 385 Bytes
Contents
require 'csv' module Koine module Csv class CsvParser def initialize(options = {}) defaults = { col_sep: ';' } options = defaults.merge(options) @parser_options = options end def parse(contents, &block) CSV.parse(contents, parser_options, &block) end protected attr_reader :parser_options end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
koine-csv-0.2.2 | lib/koine/csv/csv_parser.rb |