method

register

Importance_1
v7.1.3.2 - Show latest stable - 0 notes - Class: Type
register(type_name, klass = nil, &block) public

Add a new type to the registry, allowing it to be referenced as a symbol by {attribute}[rdoc-ref:Attributes::ClassMethods#attribute].

Show source
Register or log in to add new notes.