class Cramp::Websocket
Public Class Methods
backend=(backend)
click to toggle source
# File lib/cramp/websocket.rb, line 6 def backend=(backend) raise "Websocket backend #{backend} is unknown" unless [:thin, :rainbows].include?(backend.to_sym) Faye::WebSocket.load_adapter(backend.to_s) end