Module: Predicated::Unary::ValueEquality

Included in:
Predicated::Unary
Defined in:
lib/predicated/predicate.rb

Instance Method Summary collapse

Instance Method Details

#==(other) ⇒ Object



34
35
36
37
# File 'lib/predicated/predicate.rb', line 34

def ==(other)
  self.class == other.class && 
  self.inner == other.inner
end