Method: Unity::Comparison#==

Defined in:
lib/unity/comparison.rb

#==(other) ⇒ Object



27
28
29
# File 'lib/unity/comparison.rb', line 27

def == other
  self.compatible?(other) && self.convert_to(other).value == other.value
end