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.
502 503 504 505 |
# File 'lib/roby/exceptions.rb', line 502 def initialize(exception, backtrace = exception.backtrace) @exception = exception @backtrace = backtrace end |
Instance Attribute Details
#backtrace ⇒ Object (readonly)
Returns the value of attribute backtrace.
500 501 502 |
# File 'lib/roby/exceptions.rb', line 500 def backtrace @backtrace end |