Sha256: 8e8d75dc6150ac6e8173e04e080f9a2a35377c97262eebd7c675bdabc6a4f759
Contents?: true
Size: 395 Bytes
Versions: 3
Compression:
Stored size: 395 Bytes
Contents
# lib/lutaml/model/toml_adapter/toml_rb_adapter.rb require "toml-rb" require_relative "../toml_adapter" module Lutaml module Model module TomlAdapter class TomlRbDocument < Document def self.parse(toml) data = TomlRB.parse(toml) new(data) end def to_toml(*args) TomlRB.dump(to_h, *args) end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems