Exception: Exception
- Defined in:
- lib/core/exception.rb
Overview
–
- Author
-
radiospiel ([email protected])
- Copyright
-
Copyright © 2011, 2012 radiospiel
- License
-
Distributes under the terms of the Modified BSD License, see LICENSE.BSD for details.
++
Instance Method Summary collapse
-
#reraise_with_current_backtrace! ⇒ Object
Create an ArgumentError with an adjusted backtrace.
Instance Method Details
#reraise_with_current_backtrace! ⇒ Object
Create an ArgumentError with an adjusted backtrace. We don’t want to see the user all the annotation internals.
11 12 13 14 |
# File 'lib/core/exception.rb', line 11 def reraise_with_current_backtrace! set_backtrace caller[2..-1] fail self end |