Module: Roles::DataMapper

Defined in:
lib/roles_data_mapper/strategy/multi.rb,
lib/roles_data_mapper/strategy/shared.rb,
lib/roles_data_mapper/strategy/single.rb,
lib/roles_data_mapper/base.rb

Defined Under Namespace

Modules: ClassMethods, Strategy

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



9
10
11
12
13
# File 'lib/roles_data_mapper/base.rb', line 9

def self.included(base) 
  base.extend Roles::Base
  base.extend ClassMethods
  base.orm_name = :data_mapper
end