lib/grenache/base-ws.rb in grenache-ruby-ws-0.0.4 vs lib/grenache/base-ws.rb in grenache-ruby-ws-0.0.5
- old
+ new
@@ -1,6 +1,6 @@
module Grenache
- class BaseWs < Grenache::Base
+ class Ws < Grenache::Base
def listen(key, port, opts={}, &block)
EM.defer {
@ws = WebsocketServer.new port, &block
@ws.start_server
}