diff --git a/ruby-sockets/ping-pong/em-server.rb b/ruby-sockets/ping-pong/em-server.rb index 9ba0823..f6101f5 100644 --- a/ruby-sockets/ping-pong/em-server.rb +++ b/ruby-sockets/ping-pong/em-server.rb @@ -20,7 +20,7 @@ module PongServer end end -EventMachine::run do - EventMachine::start_server('0.0.0.0', 24000, PongServer) +EventMachine.run do + EventMachine.start_server('0.0.0.0', 24000, PongServer) puts 'Listening on 0.0.0.0:24000' end