Browse files

Merge pull request #330 from jasonmay/master

Emphasize on args after the class name in start_server
  • Loading branch information...
2 parents a92b667 + da83d30 commit 76aa7e90e9841fa1fbaec6bc1609581bdaa1474d @tmm1 tmm1 committed May 12, 2012
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 76aa7e9

Please sign in to comment.