Exception: Exception

Defined in:
lib/rush/server.rb

Instance Method Summary collapse

Instance Method Details

#filtered_backtraceObject



112
113
114
115
116
# File 'lib/rush/server.rb', line 112

def filtered_backtrace
	backtrace.reject do |bt|
		bt.match(/^\/usr\//)
	end
end

#full_displayObject



101
102
103
104
105
106
107
108
109
110
# File 'lib/rush/server.rb', line 101

def full_display
	out = []
	out << "Exception #{self.class} => #{self}"
	out << "Backtrace:"
	out << self.filtered_backtrace.collect do |t|
		"   #{t}"
	end
	out << ""
	out.join("\n")
end