diff options
Diffstat (limited to 'lib/irb/command/force_exit.rb')
| -rw-r--r-- | lib/irb/command/force_exit.rb | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/lib/irb/command/force_exit.rb b/lib/irb/command/force_exit.rb deleted file mode 100644 index c2c5542e24..0000000000 --- a/lib/irb/command/force_exit.rb +++ /dev/null @@ -1,20 +0,0 @@ -# frozen_string_literal: true - -module IRB - # :stopdoc: - - module Command - class ForceExit < Base - category "IRB" - description "Exit the current process." - - def execute(*) - throw :IRB_EXIT, true - rescue UncaughtThrowError - Kernel.exit! - end - end - end - - # :startdoc: -end |
