# File lib/dragonfly/temp_object.rb, line 151 def inspect content_string = case when @data data_string = size > 20 ? "#{@data[0..20]}..." : @data "data=#{data_string.inspect}" when @pathname then "pathname=#{@pathname.inspect}" when @tempfile then "tempfile=#{@tempfile.inspect}" end to_s.sub(/>$/, " #{content_string} >") end