is the dot syntax more modern?

This commit is contained in:
Dan Buch 2012-06-16 00:41:44 -04:00
parent f342fa2734
commit 8addb0fe6c

View File

@ -20,7 +20,7 @@ module PongServer
end end
end end
EventMachine::run do EventMachine.run do
EventMachine::start_server('0.0.0.0', 24000, PongServer) EventMachine.start_server('0.0.0.0', 24000, PongServer)
puts 'Listening on 0.0.0.0:24000' puts 'Listening on 0.0.0.0:24000'
end end