summaryrefslogtreecommitdiff
path: root/lib/rubygems/commands/mirror_command.rb
diff options
context:
space:
mode:
authorDavid Rodríguez <[email protected]>2020-07-13 12:01:07 +0200
committerHiroshi SHIBATA <[email protected]>2020-07-31 21:07:19 +0900
commita89665b7b1abb5bb6005fd638dc920848cc50f72 (patch)
treef6c84f1bfb1148d203cd63c72c458de3a8f5e961 /lib/rubygems/commands/mirror_command.rb
parenta6bfc951aa9c48e2a4608a9ae84e2e3b4fd9b390 (diff)
Enforce no empty lines around class body in rubygems
To normalize the code style with `bundler`.
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/3379
Diffstat (limited to 'lib/rubygems/commands/mirror_command.rb')
-rw-r--r--lib/rubygems/commands/mirror_command.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/rubygems/commands/mirror_command.rb b/lib/rubygems/commands/mirror_command.rb
index 4e2a41fa33..86671a93b2 100644
--- a/lib/rubygems/commands/mirror_command.rb
+++ b/lib/rubygems/commands/mirror_command.rb
@@ -3,7 +3,6 @@ require 'rubygems/command'
unless defined? Gem::Commands::MirrorCommand
class Gem::Commands::MirrorCommand < Gem::Command
-
def initialize
super('mirror', 'Mirror all gem files (requires rubygems-mirror)')
begin
@@ -22,6 +21,5 @@ The mirror command has been moved to the rubygems-mirror gem.
def execute
alert_error "Install the rubygems-mirror gem for the mirror command"
end
-
end
end