Sha256: b5dd147b18af93dcd8f896a57cfbd2b553d2eb08b4e89ba963c4e3aed7b5c5dc
Contents?: true
Size: 501 Bytes
Versions: 37
Compression:
Stored size: 501 Bytes
Contents
class SocketConnectionHandlerStub def self.dispatcher=(val) @@dispatcher = val end def self.dispatcher @@dispatcher end def initialize(channel_stub) @channel_stub = channel_stub end # Sends a message to all, optionally skipping a users channel def self.send_message_all(skip_channel=nil, *args) # Stub end def process_message(message) @@dispatcher.dispatch(self, message) end def send_message(*args) @channel_stub.message_received(*args) end end
Version data entries
37 entries across 37 versions & 1 rubygems