1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[rubygems/rubygems] Remove unused method

3a8486794e
This commit is contained in:
Daniel Niknam 2021-08-23 23:01:40 +10:00 committed by Hiroshi SHIBATA
parent 6d883b33ae
commit d73dc8e937
Notes: git 2021-08-31 19:06:56 +09:00

View file

@ -54,10 +54,6 @@ class Gem::PrintableUri
end
end
def redactable_credential?
password? || oauth_basic? || token?
end
def password?
!!@uri.password
end