Module: Foobara::TypeDeclarations::WithRegistries::ClassMethods
- Defined in:
- foobara-0.5.8/projects/typesystem/projects/type_declarations/src/with_registries.rb
Instance Method Summary collapse
- #handler_for_class ⇒ Object
- #lookup_type ⇒ Object
- #lookup_type! ⇒ Object
- #type_declaration_handler_for ⇒ Object
- #type_for_declaration ⇒ Object
- #type_registered? ⇒ Boolean
Instance Method Details
#handler_for_class ⇒ Object
29 30 31 |
# File 'projects/typesystem/projects/type_declarations/src/with_registries.rb', line 29 def handler_for_class(...) Domain.current..handler_for_class(...) end |
#lookup_type ⇒ Object
21 22 23 |
# File 'projects/typesystem/projects/type_declarations/src/with_registries.rb', line 21 def lookup_type(...) Foobara::Namespace.current.(...) end |
#lookup_type! ⇒ Object
17 18 19 |
# File 'projects/typesystem/projects/type_declarations/src/with_registries.rb', line 17 def lookup_type!(...) Foobara::Namespace.current.(...) end |
#type_declaration_handler_for ⇒ Object
13 14 15 |
# File 'projects/typesystem/projects/type_declarations/src/with_registries.rb', line 13 def type_declaration_handler_for(...) Domain.current..type_declaration_handler_for(...) end |