lib/byebug/commands/interrupt.rb in byebug-4.0.5 vs lib/byebug/commands/interrupt.rb in byebug-5.0.0
- old
+ new
@@ -15,18 +15,14 @@
def execute
context = Byebug.thread_context(Thread.main)
context.interrupt
end
- class << self
- def names
- %w(interrupt)
- end
+ def description
+ <<-EOD
+ i[nterrupt]
- def description
- prettify <<-EOD
- i[nterrupt] Interrupts the program.
- EOD
- end
+ Interrupts the program.
+ EOD
end
end
end