From 665717d9d339748447e26d3eb0e34c9f6c64ce73 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Fri, 26 Jun 2009 15:52:39 -0700 Subject: tee_input: avoid defining a @rd.size method We don't ever expose the @rd object to the public so Rack-applications won't ever call size() on it. --- lib/unicorn/tee_input.rb | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/unicorn/tee_input.rb b/lib/unicorn/tee_input.rb index 1e7afef..9e66837 100644 --- a/lib/unicorn/tee_input.rb +++ b/lib/unicorn/tee_input.rb @@ -28,9 +28,6 @@ module Unicorn @wr = File.open(tmp.path, 'wb') @rd.sync = @wr.sync = true - def @rd.size - stat.size - end tmp.close! end -- cgit v1.2.3-24-ge0c7