aboutsummaryrefslogtreecommitdiffstats
path: root/test/rubygems/rubygems_plugin.rb
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2020-07-13 12:01:07 +0200
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2020-07-31 21:07:19 +0900
commita89665b7b1abb5bb6005fd638dc920848cc50f72 (patch)
treef6c84f1bfb1148d203cd63c72c458de3a8f5e961 /test/rubygems/rubygems_plugin.rb
parenta6bfc951aa9c48e2a4608a9ae84e2e3b4fd9b390 (diff)
downloadruby-a89665b7b1abb5bb6005fd638dc920848cc50f72.tar.gz
Enforce no empty lines around class body in rubygems
To normalize the code style with `bundler`.
Diffstat (limited to 'test/rubygems/rubygems_plugin.rb')
-rw-r--r--test/rubygems/rubygems_plugin.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/test/rubygems/rubygems_plugin.rb b/test/rubygems/rubygems_plugin.rb
index 7fac2ebec6..2dc7836904 100644
--- a/test/rubygems/rubygems_plugin.rb
+++ b/test/rubygems/rubygems_plugin.rb
@@ -11,7 +11,6 @@ module Gem::Commands
end
class Gem::Commands::InterruptCommand < Gem::Command
-
def initialize
super('interrupt', 'Raises an Interrupt Exception', {})
end
@@ -19,7 +18,6 @@ class Gem::Commands::InterruptCommand < Gem::Command
def execute
raise Interrupt, "Interrupt exception"
end
-
end
Gem::CommandManager.instance.register_command :interrupt