Method: StatsD::Instrument::AggregationKey#==

Defined in:
lib/statsd/instrument/aggregator.rb

#==(other) ⇒ Object Also known as: eql?



17
18
19
20
21
22
23
# File 'lib/statsd/instrument/aggregator.rb', line 17

def ==(other)
  other.is_a?(self.class) &&
    @name == other.name &&
    @tags == other.tags &&
    @no_prefix == other.no_prefix &&
    @type == other.type
end