Module: Clamour::Configuration::Base

Included in:
Clamour::Configuration, RabbitMqConfiguration
Defined in:
lib/clamour/configuration/base.rb

Instance Method Summary collapse

Instance Method Details

#eql?(other) ⇒ Boolean

Returns:

  • (Boolean)


7
8
9
# File 'lib/clamour/configuration/base.rb', line 7

def eql?(other)
  other.respond_to?(:attributes) && attributes.eql?(other.attributes)
end

#hashFixnum

Returns:

  • (Fixnum)


12
13
14
# File 'lib/clamour/configuration/base.rb', line 12

def hash
  attributes.hash
end