Class: Tempfile

Inherits:
Object show all
Defined in:
lib/utilities/tempfile.rb

Overview

Patch Ruby’s Tempfile class to work around a problem uploading files with Rack.

The fix came from here: sinatra.lighthouseapp.com/projects/9779/tickets/1

This is fixed in Rack already, but it hasn’t made it into a gem.

Instance Method Summary collapse

Instance Method Details

#==(other) ⇒ Object

Make == act like eql?



8
# File 'lib/utilities/tempfile.rb', line 8

def ==(other) ; eql?(other) || super ; end