Method: NucleusApi::StatisticResourceVO#==

Defined in:
lib/nucleus_api/models/statistic_resource_vo.rb

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • to be compared



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

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      description == o.description &&
      parameter == o.parameter &&
      stat_name == o.stat_name &&
      type == o.type
end