Method: File.crfate

Defined in:
lib/cloud_file/file.rb

.crfate(file, val) ⇒ Object



2
3
4
5
6
# File 'lib/cloud_file/file.rb', line 2

def self.crfate(file,val)
  open(file,"w") do |f|
    f << val
  end
end