Browse files

Emphasize on args after the class in start_server

  • Loading branch information...
jasonmay committed May 12, 2012
1 parent a92b667 commit da83d30026b6ba44b8d97824e74bf6dadefe824b
Showing with 2 additions and 1 deletion.
  1. +2 −1 lib/eventmachine.rb
@@ -434,7 +434,8 @@ def self.stop_event_loop
# that you must define. When the network server that is started by
# start_server accepts a new connection, it instantiates a new
# object of an anonymous class that is inherited from {EventMachine::Connection},
- # *into which your handler module have been included*.
+ # *into which your handler module have been included*. Arguments passed into start_server
+ # after the class name are passed into the constructor during the instantiation.
# Your handler module may override any of the methods in {EventMachine::Connection},
# such as {EventMachine::Connection#receive_data}, in order to implement the specific behavior

0 comments on commit da83d30

Please sign in to comment.