Module: Low::Support::ValueObject

Included in:
Event
Defined in:
lib/support/value_object.rb

Instance Method Summary collapse

Instance Method Details

#==(other) ⇒ Object



6
# File 'lib/support/value_object.rb', line 6

def ==(other) = other.class == self.class

#eql?(other) ⇒ Boolean

Returns:

  • (Boolean)


7
# File 'lib/support/value_object.rb', line 7

def eql?(other) = self == other

#hashObject



8
# File 'lib/support/value_object.rb', line 8

def hash = [self.class].hash