Method: Zold::Farm#to_text

Defined in:
lib/zold/node/farm.rb

#to_textObject



58
59
60
61
62
63
# File 'lib/zold/node/farm.rb', line 58

def to_text
  @threads.map do |t|
    trace = t.backtrace || []
    "#{t.name}: status=#{t.status}; alive=#{t.alive?};\n  #{trace.join("\n  ")}"
  end.join("\n")
end