From c2e1f019eea62e89d5641a83d1165aa337d29336 Mon Sep 17 00:00:00 2001 From: yugui Date: Thu, 23 Dec 2010 12:46:02 +0000 Subject: merges r30295,r30298 and r30299 from trunk into ruby_1_9_2. -- adding tests for the SMTP response parser -- adding more tests for Net::SMTP::Response class -- adding tests for Net::SMTP::Response#exception_class git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@30324 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 1143def104..79211d1aee 100644 --- a/lib/net/smtp.rb +++ b/lib/net/smtp.rb @@ -974,7 +974,7 @@ module Net end class Response - def Response.parse(str) + def self.parse(str) new(str[0,3], str) end -- cgit v1.2.3