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 |
# File 'lib/omml/configuration/adapter.rb', line 11 def adapter=(adapter) Lutaml::Model::Config.xml_adapter_type = adapter end |
#xml_adapter ⇒ Object
15 16 17 18 19 |
# File 'lib/omml/configuration/adapter.rb', line 15 def xml_adapter self.adapter = Omml.default_adapter unless adapter Lutaml::Model::Config.adapter_for(:xml) end |