Module: Roleable::Role

Included in:
Role
Defined in:
lib/roleable/role.rb

Class Method Summary collapse

Class Method Details

.extended(base) ⇒ Object



3
4
5
6
7
# File 'lib/roleable/role.rb', line 3

def self.extended(base)
  base.has_many :applied_roles

  base.attr_accessible :name
end