Class: Rack::RewindableInput::Tempfile
- Defined in:
- lib/vendor/rack-1.5.2/lib/rack/rewindable_input.rb
Overview
Ruby’s Tempfile class has a bug. Subclass it and fix it.
Instance Method Summary collapse
Instance Method Details
#_close ⇒ Object
62 63 64 65 66 |
# File 'lib/vendor/rack-1.5.2/lib/rack/rewindable_input.rb', line 62 def _close @tmpfile.close if @tmpfile @data[1] = nil if @data @tmpfile = nil end |