pushing updated socket.rb...

This commit is contained in:
maxwell 2010-06-22 16:55:59 -07:00
parent 4af10a95fa
commit 4cd90a16a1

View file

@ -2,9 +2,6 @@ require 'em-websocket'
require 'eventmachine' require 'eventmachine'
module WebSocket module WebSocket
#mattr_accessor :channel
EM.next_tick { EM.next_tick {
EM.add_timer(0.1) do EM.add_timer(0.1) do
@channel = EM::Channel.new @channel = EM::Channel.new
@ -29,7 +26,7 @@ module WebSocket
} }
end end
} }
#this should get folded into message queue i think? #this should get folded into message queue i think?
def self.update_clients(object) def self.update_clients(object)