Permalink
Browse files

Pass through block to bind_connect

  • Loading branch information...
1 parent 8309448 commit 25eb21d90dc83eaa9faf4d81b73e123f5f1d8e01 @tmm1 tmm1 committed Apr 4, 2009
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/eventmachine.rb
View
4 lib/eventmachine.rb
@@ -720,8 +720,8 @@ def self.bind_connect bind_addr, bind_port, server, port=nil, handler=nil, *args
c
end
- def self.connect server, port=nil, handler=nil, *args
- bind_connect nil, nil, server, port, handler, *args
+ def self.connect server, port=nil, handler=nil, *args, &blk
+ bind_connect nil, nil, server, port, handler, *args, &blk
end
# EventMachine::attach registers a given file descriptor or IO object with the eventloop

0 comments on commit 25eb21d

Please sign in to comment.