Class: Homeland::Site::Ability
- Inherits:
-
Object
- Object
- Homeland::Site::Ability
- Includes:
- CanCan::Ability
- Defined in:
- app/models/homeland/site/ability.rb
Instance Attribute Summary collapse
-
#user ⇒ Object
readonly
Returns the value of attribute user.
Instance Method Summary collapse
-
#initialize(u) ⇒ Ability
constructor
A new instance of Ability.
Constructor Details
Instance Attribute Details
#user ⇒ Object (readonly)
Returns the value of attribute user.
7 8 9 |
# File 'app/models/homeland/site/ability.rb', line 7 def user @user end |