Class: Demo
- Inherits:
-
EventHook
- Object
- EventHook
- Demo
- Defined in:
- lib/backtracer_tracer_exception_creation.rb
Class Method Summary collapse
Class Method Details
.process(*args) ⇒ Object
5 6 7 8 9 10 11 12 13 14 15 |
# File 'lib/backtracer_tracer_exception_creation.rb', line 5 def self.process(*args) # args => [64, #<RuntimeError: hello>, :initialize, Exception] begin if args[1].is_a? Exception puts args.inspect end rescue # fantastically, this check fails within rails at times end end |