Class: Foreman::Export::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/foreman/export/base.rb

Direct Known Subclasses

Bluepill, Inittab, Upstart

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#engineObject (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

#exportObject



12
13
14
# File 'lib/foreman/export/base.rb', line 12

def export
  raise "export method must be overridden"
end