Module: Celluloid::Internals::Stack::DisplayBacktrace
- Included in:
- ActorState, ThreadState
- Defined in:
- lib/celluloid/internals/stack/states.rb
Instance Method Summary collapse
Instance Method Details
#display_backtrace(backtrace, output, indent = nil) ⇒ Object
5 6 7 8 9 10 11 12 |
# File 'lib/celluloid/internals/stack/states.rb', line 5 def display_backtrace(backtrace, output, indent = nil) backtrace ||= ["EMPTY BACKTRACE"] backtrace.each do |line| output << indent if indent output << "\t" << line << "\n" end output << "\n\n" end |