Class: CanTango::Engine

Inherits:
Object
  • Object
show all
Includes:
Helpers::Debug
Defined in:
lib/cantango/engine.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Helpers::Debug

#debug

Constructor Details

#initialize(ability) ⇒ Engine

Returns a new instance of Engine.



9
10
11
# File 'lib/cantango/engine.rb', line 9

def initialize ability
  @ability = ability
end

Instance Attribute Details

#abilityObject (readonly)

Returns the value of attribute ability.



5
6
7
# File 'lib/cantango/engine.rb', line 5

def ability
  @ability
end

Instance Method Details

#engine_nameObject

Raises:

  • (NotImplementedError)


17
18
19
# File 'lib/cantango/engine.rb', line 17

def engine_name
  raise NotImplementedError
end

#execute!Object

Raises:

  • (NotImplementedError)


13
14
15
# File 'lib/cantango/engine.rb', line 13

def execute!
  raise NotImplementedError
end