Method: PureCloud::NumericRange#==

Defined in:
lib/purecloud/models/numeric_range.rb

#==(o) ⇒ Object

Check equality by comparing each attribute.



85
86
87
88
89
90
91
92
# File 'lib/purecloud/models/numeric_range.rb', line 85

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      gt == o.gt &&
      gte == o.gte &&
      lt == o.lt &&
      lte == o.lte
end