Class: SimpleImporter::Importer
- Inherits:
-
Object
- Object
- SimpleImporter::Importer
- Includes:
- SimpleImporter
- Defined in:
- lib/simple_importer.rb
Instance Method Summary collapse
-
#initialize(name, &block) ⇒ Importer
constructor
A new instance of Importer.
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 |