summaryrefslogtreecommitdiff
path: root/lib/rubygems/commands/push_command.rb
diff options
context:
space:
mode:
authorHiroshi SHIBATA <[email protected]>2023-03-16 13:12:38 +0900
committerHiroshi SHIBATA <[email protected]>2023-03-17 18:50:55 +0900
commit1ca67f13cd2ebb643fc924246cc790f14b26480d (patch)
tree0551499a620d3d3d034681b107aedda4019b710e /lib/rubygems/commands/push_command.rb
parent5211900d37573a82c1bdf7cb2354937cc4022ae1 (diff)
util/rubocop -A --only Style/RedundantSelf
Diffstat (limited to 'lib/rubygems/commands/push_command.rb')
-rw-r--r--lib/rubygems/commands/push_command.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rubygems/commands/push_command.rb b/lib/rubygems/commands/push_command.rb
index 7c5cb7a81a..95faebce23 100644
--- a/lib/rubygems/commands/push_command.rb
+++ b/lib/rubygems/commands/push_command.rb
@@ -29,7 +29,7 @@ The push command will use ~/.gem/credentials to authenticate to a server, but yo
end
def initialize
- super "push", "Push a gem up to the gem server", :host => self.host
+ super "push", "Push a gem up to the gem server", :host => host
@user_defined_host = false