mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
This commit is contained in:
parent
6277a66deb
commit
ce3fb6ceea
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
Sat Aug 2 19:18:40 2003 Minero Aoki <aamine@loveruby.net>
|
||||
|
||||
* lib/net/smtp.rb: respond_to? needs 2nd argument.
|
||||
Thanks Jim Bob. [ruby-talk:77796]
|
||||
|
||||
Sat Aug 2 15:11:54 2003 WATANABE Hirofumi <eban@ruby-lang.org>
|
||||
|
||||
* ext/extmk.rb (--no-undefined): annoying option removed.
|
||||
|
|
|
@ -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 )
|
||||
|
|
Loading…
Add table
Reference in a new issue