Class: Zt::Importers::BaseImporter
- Inherits:
-
Object
- Object
- Zt::Importers::BaseImporter
- Defined in:
- lib/zt/importers/_base_importer.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#networks ⇒ Object
Returns the value of attribute networks.
-
#nodes ⇒ Object
Returns the value of attribute nodes.
Instance Method Summary collapse
- #import ⇒ Object
-
#initialize(networks, nodes) ⇒ BaseImporter
constructor
A new instance of BaseImporter.
Constructor Details
#initialize(networks, nodes) ⇒ BaseImporter
Returns a new instance of BaseImporter.
10 11 12 13 |
# File 'lib/zt/importers/_base_importer.rb', line 10 def initialize(networks, nodes) @networks = networks @nodes = nodes end |
Instance Attribute Details
#networks ⇒ Object
Returns the value of attribute networks.
8 9 10 |
# File 'lib/zt/importers/_base_importer.rb', line 8 def networks @networks end |
#nodes ⇒ Object
Returns the value of attribute nodes.
9 10 11 |
# File 'lib/zt/importers/_base_importer.rb', line 9 def nodes @nodes end |
Instance Method Details
#import ⇒ Object
15 16 17 |
# File 'lib/zt/importers/_base_importer.rb', line 15 def import abort('import called on non-functional superclass importer') end |