Module: Roles::Generic

Defined in:
lib/roles_generic/generic.rb,
lib/roles_generic/generic/user.rb

Defined Under Namespace

Modules: ClassMethods, Role, RoleUtil, User

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



5
6
7
8
9
10
# File 'lib/roles_generic/generic.rb', line 5

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