Exception: Exception
- Defined in:
- lib/core/exception.rb
Overview
Exception overloads
Instance Method Summary collapse
-
#nice_message(padding = "") ⇒ Object
Gives us a nice_message for exceptions.
Instance Method Details
#nice_message(padding = "") ⇒ Object
Gives us a nice_message for exceptions
6 7 8 |
# File 'lib/core/exception.rb', line 6 def (padding="") "#{padding}#{}\n#{padding}" + backtrace.join("\n#{padding}") end |