Module: Omml::Configuration::Adapter
- Included in:
- Omml::Configuration
- Defined in:
- lib/omml/configuration/adapter.rb
Overview
Extended only by Omml::Configuration together with the sibling modules.
Instance Method Summary collapse
Instance Method Details
#adapter ⇒ Object
7 8 9 |
# File 'lib/omml/configuration/adapter.rb', line 7 def adapter Lutaml::Model::Config.xml_adapter_type end |
#adapter=(_adapter) ⇒ Object
11 12 13 14 |
# File 'lib/omml/configuration/adapter.rb', line 11 def adapter=(_adapter) # No-op: omml is not user-facing and must not change the global # adapter. Adapter resolution is handled by AdapterResolver. end |
#xml_adapter ⇒ Object
16 17 18 |
# File 'lib/omml/configuration/adapter.rb', line 16 def xml_adapter Lutaml::Model::Config.adapter_for(:xml) end |