lib/polyphony/extensions/thread.rb
# Returns a string representation of the thread for debugging purposes.
#
# @return [String] string representation
Returns a string representation of the thread for debugging purposes.
Returns a string representation of the thread for debugging purposes .
def inspect
    return orig_inspect if self == Thread.main
    state = status || 'dead'
    "#<Thread:#{object_id} #{location} (#{state})>"
  end
def inspect return orig_inspect if self == Thread . main state = status || 'dead' "#<Thread:#{object_id} #{location} (#{state})>" end
Returns a string representation of the thread for debugging purposes.
Returns a string representation of the thread for debugging purposes .
None
String