mirror of
https://github.com/ruby/ruby.git
synced 2025-09-15 16:44:01 +02:00
parent
6d883b33ae
commit
d73dc8e937
Notes:
git
2021-08-31 19:06:56 +09:00
1 changed files with 0 additions and 4 deletions
|
@ -54,10 +54,6 @@ class Gem::PrintableUri
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
def redactable_credential?
|
|
||||||
password? || oauth_basic? || token?
|
|
||||||
end
|
|
||||||
|
|
||||||
def password?
|
def password?
|
||||||
!!@uri.password
|
!!@uri.password
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue