Class: File

Inherits:
Object
  • Object
show all
Defined in:
lib/filesortd/oneeight.rb

Class Method Summary collapse

Class Method Details

.write(path, content) ⇒ Object



3
4
5
6
7
# File 'lib/filesortd/oneeight.rb', line 3

def self.write(path, content)
  f = File.new(path, "w")
  f.write(content)
  f.close
end