Exception: Exception
- Defined in:
- lib/em-breakout/exception.rb
Instance Method Summary collapse
Instance Method Details
#pretty ⇒ Object
2 3 4 5 6 7 8 |
# File 'lib/em-breakout/exception.rb', line 2 def pretty begin %Q[\n#{self.class} (#{self.}):\n #{backtrace.join("\n ")}\n] rescue Exception => e "error in Exception#pretty: #{e}" end end |