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.
54 55 56 |
# File 'lib/pretty_debug.rb', line 54 def backtrace_locations @backtrace_locations end |
Class Method Details
Instance Method Details
#complement_backtrace_locations ⇒ Object
55 56 57 58 |
# File 'lib/pretty_debug.rb', line 55 def complement_backtrace_locations @backtrace_locations ||= (backtrace || caller).map{|l| Thread::Backtrace::PseudoLocation.new(l)} end |