Class: ImportEverything::LineParser

Inherits:
Object
  • Object
show all
Defined in:
lib/import_everything/parser/line_parser.rb

Instance Method Summary collapse

Instance Method Details

#row_hashesObject



9
10
11
# File 'lib/import_everything/parser/line_parser.rb', line 9

def row_hashes
  value_hashes.map { |x| {:table => table, :values => x} }
end

#value_hashesObject



3
4
5
# File 'lib/import_everything/parser/line_parser.rb', line 3

def value_hashes
  [value_hash]
end