Sha256: dd78efda4dae39abd3d7a27e4940e459d11b9f78a271b527dae803c323b31ba3
Contents?: true
Size: 302 Bytes
Versions: 10
Compression:
Stored size: 302 Bytes
Contents
class Hash::ValueChanger::Dummy attr_reader :value delegate :+, to: :value def initialize(value) @value = value end def as_json { val: value } end def eql?(other) return true if equals?(other) return false unless other.is_a?(self.class) a.value == value end end
Version data entries
10 entries across 10 versions & 1 rubygems