Exception: DataImp::NoImporter
- Inherits:
-
StandardError
- Object
- StandardError
- DataImp::NoImporter
- Defined in:
- lib/data_imp/no_importer.rb
Instance Attribute Summary collapse
-
#porter_type ⇒ Object
Returns the value of attribute porter_type.
Instance Method Summary collapse
-
#initialize(porter_type) ⇒ NoImporter
constructor
A new instance of NoImporter.
Constructor Details
#initialize(porter_type) ⇒ NoImporter
Returns a new instance of NoImporter.
3 4 5 6 7 8 9 |
# File 'lib/data_imp/no_importer.rb', line 3 def initialize(porter_type) @porter_type = porter_type super <<-MSG.strip_heredoc Unable to find Importer for #{porter_type.inspect} Please define: class #{porter_type.classify}Importer < DataImp::Porter MSG end |
Instance Attribute Details
#porter_type ⇒ Object
Returns the value of attribute porter_type.
2 3 4 |
# File 'lib/data_imp/no_importer.rb', line 2 def porter_type @porter_type end |