Class: Lutaml::Model::TomlAdapter::TomlDocument
- Inherits:
-
TomlObject
- Object
- TomlObject
- Lutaml::Model::TomlAdapter::TomlDocument
- Defined in:
- lib/lutaml/model/toml_adapter/toml_document.rb
Overview
Base class for TOML documents
Direct Known Subclasses
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
10 11 12 |
# File 'lib/lutaml/model/toml_adapter/toml_document.rb', line 10 def self.parse(toml, = {}) raise NotImplementedError, "Subclasses must implement `parse`." end |
Instance Method Details
#to_toml(*args) ⇒ Object
14 15 16 |
# File 'lib/lutaml/model/toml_adapter/toml_document.rb', line 14 def to_toml(*args) raise NotImplementedError, "Subclasses must implement `to_toml`." end |