method

register

Importance_1
v6.1.3.1 - Show latest stable - 0 notes - Class: Type
register(type_name, klass = nil, **options, &block) public

Add a new type to the registry, allowing it to be gotten through ActiveModel::Type#lookup

Show source
Register or log in to add new notes.