module Celluloid::StackDump::DisplayBacktrace - celluloid-0.16.0 Documentation

# module Celluloid::StackDump::DisplayBacktrace

### Public Instance Methods

display_backtrace(backtrace, output, indent = nil) click to toggle source

    # File lib/celluloid/stack_dump.rb, line 4
    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