Exception: Exception
- Defined in:
- lib/pretty_debug.rb
Instance Attribute Summary collapse
-
#backtrace_locations ⇒ Object
Returns the value of attribute backtrace_locations.
Class Method Summary collapse
Instance Method Summary collapse
Instance Attribute Details
#backtrace_locations ⇒ Object
Returns the value of attribute backtrace_locations.
47 48 49 |
# File 'lib/pretty_debug.rb', line 47 def backtrace_locations @backtrace_locations end |
Class Method Details
.raise(*args) ⇒ Object
52 |
# File 'lib/pretty_debug.rb', line 52 def self.raise *args; Kernel.__send__(:raise, new(*args)) end |
Instance Method Details
#complement_backtrace_locations ⇒ Object
48 49 50 51 |
# File 'lib/pretty_debug.rb', line 48 def complement_backtrace_locations @backtrace_locations ||= backtrace.map{|l| Thread::Backtrace::PseudoLocation.new(l)} end |