Exception: Exception

Defined in:
lib/pretty_debug.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#backtrace_locationsObject

Returns the value of attribute backtrace_locations.



67
68
69
# File 'lib/pretty_debug.rb', line 67

def backtrace_locations
  @backtrace_locations
end

Class Method Details

.raise(*args) ⇒ Object



72
# File 'lib/pretty_debug.rb', line 72

def self.raise *args; Kernel.send(:raise, new(*args)) end

Instance Method Details

#complement_backtrace_locationsObject



68
69
70
71
# File 'lib/pretty_debug.rb', line 68

def complement_backtrace_locations
	@backtrace_locations ||=
	backtrace.map{|l| Thread::Backtrace::PseudoLocation.new(l)}
end