Class: Tempfile

Inherits:
Object
  • Object
show all
Defined in:
lib/torquebox/vfs/ext/tempfile.rb

Class Method Summary collapse

Class Method Details

.new(basename, tmpdir = Dir.tmpdir) ⇒ Object



26
27
28
# File 'lib/torquebox/vfs/ext/tempfile.rb', line 26

def new(basename, tmpdir=Dir.tmpdir)
  new_without_vfs(basename, File.name_without_vfs(tmpdir))
end

.new_without_vfsObject



24
# File 'lib/torquebox/vfs/ext/tempfile.rb', line 24

alias_method :new_without_vfs, :new