Sha256: 707417aec72a624c950596f11048e3eb22291f7203b6b1a9447188136f800255
Contents?: true
Size: 301 Bytes
Versions: 5
Compression:
Stored size: 301 Bytes
Contents
require 'rubygems/command_manager' class Gem::Commands::InterruptCommand < Gem::Command def initialize super('interrupt', 'Raises an Interrupt Exception', {}) end def execute raise Interrupt, "Interrupt exception" end end Gem::CommandManager.instance.register_command :interrupt
Version data entries
5 entries across 5 versions & 1 rubygems