Method: TalonOne::ErrorSource#==

Defined in:
lib/talon_one/models/error_source.rb

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



103
104
105
106
107
108
109
110
# File 'lib/talon_one/models/error_source.rb', line 103

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      pointer == o.pointer &&
      parameter == o.parameter &&
      line == o.line &&
      resource == o.resource
end