Class: IO

Inherits:
Object
  • Object
show all
Defined in:
lib/eve/io.rb

Class Method Summary collapse

Class Method Details

.write(filename, content) ⇒ Object



2
3
4
# File 'lib/eve/io.rb', line 2

def self.write(filename,content)
  File.open(filename, 'w') {|f| f.write(content) }
end