From 8addb0fe6c7f283256071f5e96aab4cd2fe04d6d Mon Sep 17 00:00:00 2001 From: Dan Buch Date: Sat, 16 Jun 2012 00:41:44 -0400 Subject: [PATCH] is the dot syntax more modern? --- ruby-sockets/ping-pong/em-server.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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