class Warren::Handler::Test::Channel
in test assertions
Public Class Methods
new(warren)
click to toggle source
# File lib/warren/handler/test.rb, line 76 def initialize(warren) @warren = warren end
Public Instance Methods
<<(message)
click to toggle source
Records `message` for testing purposes
@param message [#routing_key,#payload] A message should respond to routing_key and payload.
@see Warren::Message::Full
@return [Warren::Handler::Broadcast::Channel] returns self for chaining
# File lib/warren/handler/test.rb, line 87 def <<(message) @warren << message end