class Terragona::Generic::CSVParser

Public Class Methods

new(args = {}) click to toggle source
# File lib/terragona/generic.rb, line 6
def initialize(args = {})
  filename = args[:csv_filename]

  abort "Missing CSV filename. Aborting." unless filename

  @csv = CSV.table(filename)
  @id_counter = 0
end

Public Instance Methods