Sha256: 58bd80d048e4914cf53b254ec7602b9a65fa22228de2521ec4610a6c9caee086
Contents?: true
Size: 561 Bytes
Versions: 71
Compression:
Stored size: 561 Bytes
Contents
module Volt 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 end
Version data entries
71 entries across 71 versions & 1 rubygems