Permalink
Browse files

Slightly better TempObject inspect

  • Loading branch information...
1 parent 279a79c commit e1ae85dbb1b07a8185e063165da1dce85c63c514 Mark Evans committed Mar 9, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/dragonfly/temp_object.rb
@@ -165,7 +165,7 @@ def inspect
when @pathname then "pathname=#{@pathname.inspect}"
when @tempfile then "tempfile=#{@tempfile.inspect}"
end
- to_s.sub(/>$/, " #{content_string} >")
+ "<#{self.class.name} #{content_string} >"
end
def unique_id

0 comments on commit e1ae85d

Please sign in to comment.