Class: Sys::Io::HxFile

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

Class Method Summary collapse

Class Method Details

.get_content(path) ⇒ Object



8
9
10
# File 'lib/lib/sys/io/hx_file.rb', line 8

def HxFile.get_content(path)
  IO.read(path)
end

.save_content(path, content) ⇒ Object



12
13
14
# File 'lib/lib/sys/io/hx_file.rb', line 12

def HxFile.save_content(path,content)
  IO.write(path,content)
end