Module: EasyRoleRequirementSystem::InstanceMethods

Included in:
EasyRoleRequirementSystem
Defined in:
lib/easy_role_requirement_system.rb

Instance Method Summary collapse

Instance Method Details

#included(klass) ⇒ Object



43
44
45
# File 'lib/easy_role_requirement_system.rb', line 43

def included(klass)
  raise "Include RoleRequirementSystem first BEFORE including EasyRoleRequirementSystem." unless klass.included_modules.include?(RoleRequirementSystem)
end