diff options
Diffstat (limited to 'lib/tempfile.rb')
-rw-r--r-- | lib/tempfile.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/tempfile.rb b/lib/tempfile.rb index 9f4ed8f3fd..fe7839158a 100644 --- a/lib/tempfile.rb +++ b/lib/tempfile.rb @@ -261,6 +261,10 @@ class Tempfile < DelegateClass(File) end alias length size + def inspect + "#<#{self.class}:#{path}>" + end + # :stopdoc: class Remover def initialize(data) |