Sha256: 3be40ba354ffe38b0e8c688caa6b3c5a2afbcf518d257cb45b4c11348312c5c6
Contents?: true
Size: 407 Bytes
Versions: 9
Compression:
Stored size: 407 Bytes
Contents
module ActiveTriples class Configuration # Basic configuration item which overrides the value for a key on the object. class Item attr_reader :object, :key def initialize(object, key) @object = object @key = key end def value object.inner_hash[key] end def set(value) object.inner_hash[key] = value end end end end
Version data entries
9 entries across 9 versions & 1 rubygems