lib/angelo/base.rb in angelo-0.1.7 vs lib/angelo/base.rb in angelo-0.1.8

- old
+ new

@@ -72,10 +72,10 @@ define_method m do |path, &block| routes[m][path] = Responder.new &block end end - def socket path, &block + def websocket path, &block routes[:socket][path] = WebsocketResponder.new &block end def on_pong &block WebsocketResponder.on_pong = block