Class PhusionPassenger::Utils::TmpIO
In: lib/phusion_passenger/utils/tmpio.rb
Parent: File

some versions of Ruby had a broken Tempfile which didn‘t work well with unlinked files. This one is much shorter, easier to understand, and slightly faster.

Methods

new   size  

Public Class methods

creates and returns a new File object. The File is unlinked immediately, switched to binary mode, and userspace output buffering is disabled

Public Instance methods

for easier env compatibility with Rack <= 1.1

[Validate]