mirror of
https://github.com/ruby/ruby.git
synced 2025-09-17 09:33:59 +02:00
aamine
* lib/net/protocol.rb: calls on_connect before conn_command git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1891 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
a20863ff41
commit
fa6dc283cd
8 changed files with 302 additions and 192 deletions
|
@ -146,8 +146,8 @@ module Net
|
|||
|
||||
def connect
|
||||
conn_socket @address, @port
|
||||
conn_command @socket
|
||||
on_connect
|
||||
conn_command @socket
|
||||
end
|
||||
|
||||
def re_connect
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue