Method: Kazoo::Broker#eql?

Defined in:
lib/kazoo/broker.rb

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



54
55
56
# File 'lib/kazoo/broker.rb', line 54

def eql?(other)
  other.is_a?(Kazoo::Broker) && other.cluster == self.cluster && other.id == self.id
end