Class: Tempfile
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
-
#==(other) ⇒ Object
Make == act like eql?.
Instance Method Details
#==(other) ⇒ Object
Make == act like eql?
8 |
# File 'lib/utilities/tempfile.rb', line 8 def ==(other) ; eql?(other) || super ; end |