summaryrefslogtreecommitdiff
path: root/test/rubygems/rubygems_plugin.rb
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2020-09-23 21:59:35 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2020-09-23 22:01:44 +0900
commitb717f73402dc6f2d6ba6a1d72d9c8543a4f2cd27 (patch)
tree9d4a4c198aa124592552c66e2a3e6d130b6486eb /test/rubygems/rubygems_plugin.rb
parenta46841612c846f00f31ff63d886620d66cdea5b3 (diff)
Revert "Manually merged from https://github.com/rubygems/rubygems/pull/2636"
31a6eaabc165d8a222e176f2c809d90622d88ec2 is obsoleted with https://github.com/rubygems/rubygems/pull/3820
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