Class: CanTango::Config::Users

Inherits:
Registry::Clazz show all
Includes:
Singleton
Defined in:
lib/cantango/config/users.rb

Instance Method Summary collapse

Methods included from Registry::Clazz::InstanceMethods

#<<, #class_registry, #clean!, #name_registry, #register, #registered, #registered?, #registered_class?, #registered_classes, #value_methods, #value_types

Instance Method Details

#register_user(clazz) ⇒ Object Also known as: register_class



6
7
8
# File 'lib/cantango/config/users.rb', line 6

def register_user clazz
  register user_name(clazz), clazz
end