Skip to content

Commit

Permalink
✨ Add SASL::Authenticators#new alias
Browse files Browse the repository at this point in the history
  • Loading branch information
nevans committed Sep 29, 2023
1 parent 3bb2108 commit 7c6938b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/net/imap/sasl/authenticators.rb
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ def authenticator(mechanism, ...)
end
auth.respond_to?(:new) ? auth.new(...) : auth.call(...)
end
alias new authenticator

end

Expand Down

0 comments on commit 7c6938b

Please sign in to comment.