Namespace
- MODULE ActiveModel::Type::Helpers
- CLASS ActiveModel::Type::Boolean
- CLASS ActiveModel::Type::Registration
- CLASS ActiveModel::Type::Registry
- CLASS ActiveModel::Type::Value
Methods
- R
Class Public methods
register(type_name, klass = nil, **options, &block)
Link
Add a new type to the registry, allowing it to be get through ActiveModel::Type#lookup