From 7d720d8d65387672d236cbd8be03c39f0786f383 Mon Sep 17 00:00:00 2001 From: aamine Date: Sat, 2 Aug 2003 10:12:22 +0000 Subject: * lib/net/smtp.rb: respond_to? needs 2nd argument. [ruby-talk:77796] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4288 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/net/smtp.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/net/smtp.rb b/lib/net/smtp.rb index ba4f43c37..8c271ad45 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 ) -- cgit