Class: Lutaml::Model::TomlAdapter::TomlRbAdapter
- Inherits:
-
TomlDocument
- Object
- TomlObject
- TomlDocument
- Lutaml::Model::TomlAdapter::TomlRbAdapter
- Defined in:
- lib/lutaml/model/toml_adapter/toml_rb_adapter.rb
Instance Attribute Summary
Attributes inherited from TomlObject
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from TomlObject
#[], #[]=, #initialize, #to_h
Constructor Details
This class inherits a constructor from Lutaml::Model::TomlAdapter::TomlObject
Class Method Details
.parse(toml, _options = {}) ⇒ Object
8 9 10 |
# File 'lib/lutaml/model/toml_adapter/toml_rb_adapter.rb', line 8 def self.parse(toml, = {}) TomlRB.parse(toml) end |
Instance Method Details
#to_toml ⇒ Object
12 13 14 |
# File 'lib/lutaml/model/toml_adapter/toml_rb_adapter.rb', line 12 def to_toml(*) TomlRB.dump(to_h) end |