vendor/bundle/ruby/2.1.0/gems/newrelic_rpm-3.9.4.245/lib/new_relic/collection_helper.rb
# Convert any kind of object to a short string.
Convert any kind of object to a short string.
Convert any kind of object to a short string .
def flatten(object)
    case object
      when nil then ''
      when object.instance_of?(String) then object
      when String then String.new(object)  
      else "#<#{object.class.to_s}>"
    end
  end
def flatten ( object ) case object when nil then '' when object . instance_of? ( String ) then object when String then String . new ( object ) else "#<#{object.class.to_s}>" end end
Convert any kind of object to a short string.
Convert any kind of object to a short string .
# convert string subclasses to strings
object