Module: Moqueue::MockExchange::BaseKey
- Included in:
- DirectBindingKey, TopicBindingKey
- Defined in:
- lib/moqueue/mock_exchange.rb
Instance Attribute Summary collapse
-
#key ⇒ Object
readonly
Returns the value of attribute key.
Instance Method Summary collapse
Instance Attribute Details
#key ⇒ Object (readonly)
Returns the value of attribute key.
100 101 102 |
# File 'lib/moqueue/mock_exchange.rb', line 100 def key @key end |
Instance Method Details
#==(other) ⇒ Object
102 103 104 |
# File 'lib/moqueue/mock_exchange.rb', line 102 def ==(other) other.respond_to?(:key) && other.key == @key end |