]> git.openstreetmap.org Git - rails.git/blob - config/initializers/tempfile.rb
fix some trace tests, due to a change of the way that your own ones are rendered.
[rails.git] / config / initializers / tempfile.rb
1 # Hack TempFile to let us get at the underlying File object as ruby
2 # does a half assed job of making TempFile act as a File
3 class Tempfile
4   def file
5     return @tmpfile
6   end
7 end