Module: Roles::ActiveRecord
- Defined in:
- lib/roles_active_record/strategy/multi.rb,
lib/roles_active_record/strategy/shared.rb,
lib/roles_active_record/strategy/single.rb,
lib/roles_active_record/base.rb
Defined Under Namespace
Modules: ClassMethods, InstanceMethods, Strategy
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
10 11 12 13 14 15 |
# File 'lib/roles_active_record/base.rb', line 10 def self.included(base) base.extend Roles::Base base.extend ClassMethods base.send :include, InstanceMethods base.orm_name = :active_record end |