Sha256: cb928c6439899b4aa45feeaf41e9fe2ca37258be2c5453f749ea40ad4100d5a2
Contents?: true
Size: 415 Bytes
Versions: 9
Compression:
Stored size: 415 Bytes
Contents
# frozen_string_literal: true class Hash class ValueChanger class 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 end end
Version data entries
9 entries across 9 versions & 1 rubygems