runtime/at_exit_last_exception.rb
tests/_examples/runtime/at_exit_last_exception.rb in the metorex repository.
at_exit do
puts $!.class
puts $!.message
end
raise "boom"
tests/_examples/runtime/at_exit_last_exception.rb in the metorex repository.
at_exit do
puts $!.class
puts $!.message
end
raise "boom"