diff options
author | aamine <aamine@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-08-02 10:12:22 +0000 |
---|---|---|
committer | aamine <aamine@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-08-02 10:12:22 +0000 |
commit | ce3fb6ceea1f3e0ee2d7fea4bae3369bf43b860e (patch) | |
tree | ddebe143a65c2f1d83c42110fcfe2c25bda970d3 /lib/net/smtp.rb | |
parent | 6277a66deb30559a8ea991175c274e0fd899e48e (diff) |
* lib/net/smtp.rb: respond_to? needs 2nd argument. [ruby-talk:77796]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4288 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/net/smtp.rb')
-rw-r--r-- | lib/net/smtp.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/net/smtp.rb b/lib/net/smtp.rb index ba4f43c377..8c271ad45e 100644 --- a/lib/net/smtp.rb +++ b/lib/net/smtp.rb @@ -520,7 +520,7 @@ module Net unless user and secret auth_method = "auth_#{authtype || 'cram_md5'}" raise ArgumentError, "wrong auth type #{authtype}"\ - unless respond_to?(auth_method) + unless respond_to?(auth_method, true) end def authenticate( user, secret, authtype ) |