Class: Ability
- Inherits:
-
EacRailsBase0::AppBase::Ability
- Object
- EacRailsBase0::AppBase::Ability
- Ability
- Defined in:
- lib/generators/eac_rails_base0/abilities/templates/ability.rb
Instance Method Summary collapse
-
#initialize(*args) ⇒ Ability
constructor
A new instance of Ability.
Methods inherited from EacRailsBase0::AppBase::Ability
#administrator_rules, #devise_confirmation_rules, #devise_invitable_rules, #devise_password_rules, #devise_registration_rules, #devise_rules, #devise_session_rules
Constructor Details
#initialize(*args) ⇒ Ability
Returns a new instance of Ability.
4 5 6 7 |
# File 'lib/generators/eac_rails_base0/abilities/templates/ability.rb', line 4 def initialize(*args) super can :read, :public end |