class Lutaml::Model::TomlAdapter::TomlibAdapter
def self.parse(toml)
def self.parse(toml) data = Tomlib.load(toml) new(data) end
def to_toml(*args)
def to_toml(*args) Tomlib.dump(to_h, *args) # Tomlib::Generator.new(to_h).toml_str end
def self.parse(toml) data = Tomlib.load(toml) new(data) end
def to_toml(*args) Tomlib.dump(to_h, *args) # Tomlib::Generator.new(to_h).toml_str end