Method: ICFS::StoreS3#tempfile

Defined in:
lib/icfs/store_s3.rb

#tempfileTempfile

Get a Tempfile to use to write files

Returns:

  • (Tempfile)

    a Tempfile which can be written and passed to #file_write



83
84
85
# File 'lib/icfs/store_s3.rb', line 83

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