Module: Foobara::TypeDeclarations::WithRegistries::ClassMethods
- Defined in:
- foobara-0.0.110/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
27 28 29 |
# File 'foobara-0.0.110/projects/type_declarations/src/with_registries.rb', line 27 def handler_for_class(...) Domain.current..handler_for_class(...) end |
#lookup_type ⇒ Object
19 20 21 |
# File 'foobara-0.0.110/projects/type_declarations/src/with_registries.rb', line 19 def lookup_type(...) Foobara::Namespace.current.(...) end |
#lookup_type! ⇒ Object
15 16 17 |
# File 'foobara-0.0.110/projects/type_declarations/src/with_registries.rb', line 15 def lookup_type!(...) Foobara::Namespace.current.(...) end |
#type_declaration_handler_for ⇒ Object
11 12 13 |
# File 'foobara-0.0.110/projects/type_declarations/src/with_registries.rb', line 11 def type_declaration_handler_for(...) Domain.current..type_declaration_handler_for(...) end |