Class: SimpleImporter::Importer

Inherits:
Object
  • Object
show all
Includes:
SimpleImporter
Defined in:
lib/simple_importer.rb

Instance Method Summary collapse

Methods included from SimpleImporter

[], #config, config_meths, #csv_config, csv_config_meths, find_importers, importer, importer_paths, importers, included, #run, #run_callbacks

Constructor Details

#initialize(name, &block) ⇒ Importer

Returns a new instance of Importer.



101
102
103
104
# File 'lib/simple_importer.rb', line 101

def initialize(name, &block)
  self.name = name
  instance_eval(&block)
end