Module: Lutaml::Model::Toml

Defined in:
lib/lutaml/model/toml.rb,
lib/lutaml/model/toml/mapping.rb,
lib/lutaml/model/toml/document.rb,
lib/lutaml/model/toml/transform.rb,
lib/lutaml/model/toml/mapping_rule.rb,
lib/lutaml/model/toml/tomlib_adapter.rb,
lib/lutaml/model/toml/toml_rb_adapter.rb

Defined Under Namespace

Classes: Document, Mapping, MappingRule, TomlRbAdapter, TomlibAdapter, Transform

Class Method Summary collapse

Class Method Details

.detect_toml_adapterObject



6
7
8
9
10
11
# File 'lib/lutaml/model/toml.rb', line 6

def self.detect_toml_adapter
  return :tomlib if Object.const_defined?(:Tomlib)
  return :toml_rb if Object.const_defined?(:TomlRb)

  nil
end