test/rubygems_plugin.rb in rubygems-update-1.3.6 vs test/rubygems_plugin.rb in rubygems-update-1.3.7
- old
+ new
@@ -1,6 +1,11 @@
require 'rubygems/command_manager'
+##
+# This is an example of exactly what NOT to do.
+#
+# DO NOT include code like this in your rubygems_plugin.rb
+
class Gem::Commands::InterruptCommand < Gem::Command
def initialize
super('interrupt', 'Raises an Interrupt Exception', {})
end