module Celluloid::InstanceMethods
def inspect
def inspect return "..." if Celluloid.detect_recursion str = "#<" str << if leaked? Celluloid::BARE_OBJECT_WARNING_MESSAGE else "Celluloid::Proxy::Cell" end str << "(#{self.class}:0x#{object_id.to_s(16)})" str << " " unless instance_variables.empty? instance_variables.each do |ivar| next if ivar == Celluloid::OWNER_IVAR str << "#{ivar}=#{instance_variable_get(ivar).inspect} " end str.sub!(/\s$/, ">") end