Class: Foreman::Export::Base
- Inherits:
-
Object
- Object
- Foreman::Export::Base
- Defined in:
- lib/foreman/export/base.rb
Instance Attribute Summary collapse
-
#engine ⇒ Object
readonly
Returns the value of attribute engine.
Instance Method Summary collapse
- #export ⇒ Object
-
#initialize(engine) ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize(engine) ⇒ Base
Returns a new instance of Base.
8 9 10 |
# File 'lib/foreman/export/base.rb', line 8 def initialize(engine) @engine = engine end |
Instance Attribute Details
#engine ⇒ Object (readonly)
Returns the value of attribute engine.
6 7 8 |
# File 'lib/foreman/export/base.rb', line 6 def engine @engine end |
Instance Method Details
#export ⇒ Object
12 13 14 |
# File 'lib/foreman/export/base.rb', line 12 def export raise "export method must be overridden" end |