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.



60
61
62
# File 'lib/pretty_debug.rb', line 60

def backtrace_locations
  @backtrace_locations
end

Class Method Details

.raise(*args) ⇒ Object



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

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

Instance Method Details

#complement_backtrace_locationsObject



61
62
63
64
# File 'lib/pretty_debug.rb', line 61

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

#raiseObject



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

def raise; Kernel.__send__(:raise, self) end