Parent

Methods

Included Modules

Files

Moqueue::MockExchange::DirectBindingKey

Requires an exact match

Public Class Methods

new(key_string) click to toggle source
     # File lib/moqueue/mock_exchange.rb, line 132
132:       def initialize(key_string)
133:         @key = key_string.to_s
134:       end

Public Instance Methods

matches?(message_key) click to toggle source
     # File lib/moqueue/mock_exchange.rb, line 136
136:       def matches?(message_key)
137:         message_key, binding_key = message_key.to_s, key.dup
138: 
139:         # looking for string equivalence
140:         message_key == binding_key
141:       end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.