mirror of
https://github.com/ruby/ruby.git
synced 2025-08-16 05:59:00 +02:00
18 lines
267 B
Ruby
18 lines
267 B
Ruby
# frozen_string_literal: true
|
|
|
|
module IRB
|
|
# :stopdoc:
|
|
|
|
module Command
|
|
class ForceExit < Base
|
|
category "IRB"
|
|
description "Exit the current process."
|
|
|
|
def execute(_arg)
|
|
throw :IRB_EXIT, true
|
|
end
|
|
end
|
|
end
|
|
|
|
# :startdoc:
|
|
end
|