Class: Roby::BacktraceFormatter
Instance Attribute Summary collapse
-
#backtrace ⇒ Object
readonly
Returns the value of attribute backtrace.
Instance Method Summary collapse
- #full_message ⇒ Object
-
#initialize(exception, backtrace = exception.backtrace) ⇒ BacktraceFormatter
constructor
A new instance of BacktraceFormatter.
- #pretty_print(pp) ⇒ Object
Constructor Details
#initialize(exception, backtrace = exception.backtrace) ⇒ BacktraceFormatter
Returns a new instance of BacktraceFormatter.
427 428 429 430 |
# File 'lib/roby/exceptions.rb', line 427 def initialize(exception, backtrace = exception.backtrace) @exception = exception @backtrace = backtrace end |
Instance Attribute Details
#backtrace ⇒ Object (readonly)
Returns the value of attribute backtrace.
426 427 428 |
# File 'lib/roby/exceptions.rb', line 426 def backtrace @backtrace end |