Class: CanTango::Scope::Ability

Inherits:
Object
  • Object
show all
Defined in:
lib/cantango/scope/ability.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#abilityObject

Returns the value of attribute ability.



4
5
6
# File 'lib/cantango/scope/ability.rb', line 4

def ability
  @ability
end