Method: PCPEasy::Metric#==

Defined in:
lib/pcp_easy/metric.rb

#==(other) ⇒ Object



20
21
22
23
24
25
26
27
# File 'lib/pcp_easy/metric.rb', line 20

def ==(other)
  self.class == other.class && \
  name == other.name && \
  values == other.values && \
  semantics == other.semantics && \
  type == other.type && \
  units == other.units
end