Sha256: 801c3b7758e9d5ce0d30b0fbb13279056c968afe47a8b0d075ec6b1efbae3e2b
Contents?: true
Size: 502 Bytes
Versions: 33
Compression:
Stored size: 502 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
33 entries across 33 versions & 1 rubygems