Class: CanTango::Scope::Ability
- Inherits:
-
Object
- Object
- CanTango::Scope::Ability
- Defined in:
- lib/cantango/scope/ability.rb
Instance Attribute Summary collapse
-
#ability ⇒ Object
Returns the value of attribute ability.
Instance Method Summary collapse
-
#initialize(ability) ⇒ Ability
constructor
A new instance of Ability.
Constructor Details
#initialize(ability) ⇒ Ability
Returns a new instance of Ability.
6 7 8 |
# File 'lib/cantango/scope/ability.rb', line 6 def initialize ability @ability = ability end |
Instance Attribute Details
#ability ⇒ Object
Returns the value of attribute ability.
4 5 6 |
# File 'lib/cantango/scope/ability.rb', line 4 def ability @ability end |