Sha256: ed18e4b9455c2c0009ce6c996da972cccb4a9164e1b2b8dd3a63a8d7f06d900a
Contents?: true
Size: 529 Bytes
Versions: 3
Compression:
Stored size: 529 Bytes
Contents
module SonJay class ObjectModel module Content class ContentWithoutExtra < Abstract def extra raise SonJay::DisabledMethodError end def each @data.each do |(name, value)| yield name, value end end def to_h @data.dup end private def load_extra_property(name_string, value) # Ignore extra. end def hash_for_json @data end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems