summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/tempfile.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/tempfile.rb b/lib/tempfile.rb
index 43174082a0..2a21a427db 100644
--- a/lib/tempfile.rb
+++ b/lib/tempfile.rb
@@ -288,6 +288,7 @@ class Tempfile < DelegateClass(File)
"#<#{self.class}:#{path}>"
end
end
+ alias to_s inspect
protected