Class: GirlFriday::ErrorHandler::Stderr

Inherits:
Object
  • Object
show all
Defined in:
lib/girl_friday/error_handler.rb

Instance Method Summary (collapse)

Instance Method Details

- (Object) handle(ex)



11
12
13
14
# File 'lib/girl_friday/error_handler.rb', line 11

def handle(ex)
  $stderr.puts(ex)
  $stderr.puts(ex.backtrace.join("\n"))
end