class Net::SMTP

def check_auth_args(type, *args, **kwargs)

def check_auth_args(type, *args, **kwargs)
  type ||= DEFAULT_AUTH_TYPE
  klass = Authenticator.auth_class(type) or
    raise ArgumentError, "wrong authentication type #{type}"
  klass.check_args(*args, **kwargs)
end