Sha256: 71b52187c5c38d647a8115b0fe5ebea2a0c012b02645e36805c9a0c663625aeb

Contents?: true

Size: 291 Bytes

Versions: 5

Compression:

Stored size: 291 Bytes

Contents

module ImportEverything
  class LineParser
    def value_hashes
      [value_hash]
    end
    fattr(:cleaned_value_hashes) do
      value_hashes.map { |row| row.cleaned_hash_values }
    end
    def row_hashes
      value_hashes.map { |x| {:table => table, :values => x} }
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
import_everything-0.1.6 lib/import_everything/parser/line_parser.rb
import_everything-0.1.5 lib/import_everything/parser/line_parser.rb
import_everything-0.1.3 lib/import_everything/parser/line_parser.rb
import_everything-0.1.2 lib/import_everything/parser/line_parser.rb
import_everything-0.1.0 lib/import_everything/parsers/line_parser.rb