Module: GLib

Defined in:
lib/shoes/ruby.rb

Overview

GLib produces stack trace for all exceptions. Don’t spit this out if system exit is called - just exit.

Class Method Summary collapse

Class Method Details

.exit_application(exception, status) ⇒ Object



12
13
14
15
# File 'lib/shoes/ruby.rb', line 12

def exit_application(exception, status)
  raise exception if exception.class.name == "SystemExit"
  super(exception, status)
end