lib/irb/command/exit.rb in irb-1.12.0 vs lib/irb/command/exit.rb in irb-1.13.0

- old
+ new

@@ -6,13 +6,11 @@ module Command class Exit < Base category "IRB" description "Exit the current irb session." - def execute(*) + def execute(_arg) IRB.irb_exit - rescue UncaughtThrowError - Kernel.exit end end end # :startdoc: