Sha256: 39b676454f3ef8119ec00882a1574c41c7d76e1509a3d371f1d5bf3a46da2683
Contents?: true
Size: 478 Bytes
Versions: 35
Compression:
Stored size: 478 Bytes
Contents
# frozen_string_literal: true module Lutaml module Model module TomlAdapter # Base class for TOML objects class TomlObject attr_reader :attributes def initialize(attributes = {}) @attributes = attributes end def [](key) @attributes[key] end def []=(key, value) @attributes[key] = value end def to_h @attributes end end end end end
Version data entries
35 entries across 35 versions & 1 rubygems