Class: CanTango::Engine
- Inherits:
-
Object
- Object
- CanTango::Engine
- Includes:
- Helpers::Debug
- Defined in:
- lib/cantango/engine.rb
Direct Known Subclasses
Configuration::Engines::Cache, PermissionEngine, PermitEngine, UserAcEngine
Instance Attribute Summary collapse
-
#ability ⇒ Object
readonly
Returns the value of attribute ability.
Instance Method Summary collapse
- #engine_name ⇒ Object
- #execute! ⇒ Object
-
#initialize(ability) ⇒ Engine
constructor
A new instance of Engine.
Methods included from Helpers::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
#ability ⇒ Object (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_name ⇒ Object
17 18 19 |
# File 'lib/cantango/engine.rb', line 17 def engine_name raise NotImplementedError end |
#execute! ⇒ Object
13 14 15 |
# File 'lib/cantango/engine.rb', line 13 def execute! raise NotImplementedError end |