Class: Yarrow::Schema::Registry
- Inherits:
-
Object
- Object
- Yarrow::Schema::Registry
- Defined in:
- lib/yarrow/schema/registry.rb
Instance Method Summary collapse
Instance Method Details
#type(identifier, type_class) ⇒ Object
4 5 6 |
# File 'lib/yarrow/schema/registry.rb', line 4 def type(identifier, type_class) Definitions.register(identifier, type_class) end |