summaryrefslogtreecommitdiff
path: root/lib/net
diff options
context:
space:
mode:
Diffstat (limited to 'lib/net')
-rw-r--r--lib/net/smtp.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/net/smtp.rb b/lib/net/smtp.rb
index 1d3cfa2fee..d90fcd5076 100644
--- a/lib/net/smtp.rb
+++ b/lib/net/smtp.rb
@@ -968,7 +968,7 @@ module Net
end
class Response
- def Response.parse(str)
+ def self.parse(str)
new(str[0,3], str)
end