lib/caldera/websocket.rb
# Register event handlers on the driver.
Register event handlers on the driver.
Register event handlers on the driver .
def register_handlers
      LOGGER.debug { 'Registering driver handlers' }
      @driver.on(:open, &method(:handle_open))
      @driver.on(:message, &method(:handle_message))
      @driver.on(:close, &method(:handle_close))
    end
def register_handlers LOGGER . debug { 'Registering driver handlers' } @driver . on ( :open , & method ( :handle_open ) ) @driver . on ( :message , & method ( :handle_message ) ) @driver . on ( :close , & method ( :handle_close ) ) end
Register event handlers on the driver.
Register event handlers on the driver .