Module: EasyRoleRequirementSystem
- Includes:
- InstanceMethods
- Included in:
- ApplicationController
- Defined in:
- lib/easy_role_requirement_system.rb
Defined Under Namespace
Modules: ClassMethods, InstanceMethods
Class Method Summary collapse
Methods included from InstanceMethods
Class Method Details
.included(klass) ⇒ Object
29 30 31 32 33 34 35 36 37 38 39 |
# File 'lib/easy_role_requirement_system.rb', line 29 def self.included(klass) super klass.extend ClassMethods klass. def klass.inherited(sub_klass) super sub_klass.reset_role_requirements! sub_klass. end end |