Method: ICFS::StoreFs#tempfile

Defined in:
lib/icfs/store_fs.rb

#tempfileTempfile

Get a Tempfile to use to write files

Returns:

  • (Tempfile)

    a Tempfile which can be written and passed to #file_write



79
80
81
# File 'lib/icfs/store_fs.rb', line 79

def tempfile
  Tempfile.new('tmp', @base, :encoding => 'ascii-8bit')
end