is the dot syntax more modern?
This commit is contained in:
parent
f342fa2734
commit
8addb0fe6c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user