about summary refs log tree commit homepage
path: root/lib/yahns/tmpio.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/yahns/tmpio.rb')
-rw-r--r--lib/yahns/tmpio.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/yahns/tmpio.rb b/lib/yahns/tmpio.rb
index ca86b4e..48832df 100644
--- a/lib/yahns/tmpio.rb
+++ b/lib/yahns/tmpio.rb
@@ -30,4 +30,7 @@ class Yahns::TmpIO < File # :nodoc:
     fp.sync = true
     fp
   end
+
+  # pretend we're Tempfile for Rack::TempfileReaper
+  alias close! close
 end