From 2f3db3b0db09bbd5a809a64ef3af2f5db1717a2d Mon Sep 17 00:00:00 2001 From: nick evans Date: Mon, 9 Oct 2023 13:27:48 -0400 Subject: [PATCH] Remove unused private `auth_method` --- lib/net/smtp.rb | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lib/net/smtp.rb b/lib/net/smtp.rb index 6ceb61b..145f897 100644 --- a/lib/net/smtp.rb +++ b/lib/net/smtp.rb @@ -846,10 +846,6 @@ def check_auth_method(type) end end - def auth_method(type) - "auth_#{type.to_s.downcase}".intern - end - def check_auth_args(user, secret, authtype = DEFAULT_AUTH_TYPE) unless user raise ArgumentError, 'SMTP-AUTH requested but missing user name'