Class: CanTango::Configuration::RoleGroups

Inherits:
RoleRegistry show all
Includes:
Singleton
Defined in:
lib/cantango/configuration/role_groups.rb

Instance Attribute Summary

Attributes inherited from RoleRegistry

#has_method, #list_method

Attributes inherited from Registry

#default, #registered

Instance Method Summary collapse

Methods inherited from RoleRegistry

#clear!, #exclude, #excluded, #filter?, #onlies, #only

Methods inherited from Registry

#[], #clean!, #default!, #register, #registered?, #types, #types=

Instance Method Details

#default_has_methodObject



6
7
8
# File 'lib/cantango/configuration/role_groups.rb', line 6

def default_has_method
  :in_role_group?
end

#default_list_methodObject



10
11
12
# File 'lib/cantango/configuration/role_groups.rb', line 10

def default_list_method
  :role_groups_list
end