Method: Lemon::CoverUnit#eql?

Defined in:
lib/lemon/coverage/cover_unit.rb

#eql?(other) ⇒ Boolean

Returns:

  • (Boolean)


72
73
74
75
76
77
78
# File 'lib/lemon/coverage/cover_unit.rb', line 72

def eql?(other)
  return false unless Unit === other
  return false unless target == other.target
  return false unless method == other.method
  return false unless singleton == other.singleton
  return true
end