Method: JuscrCompiler#read_file

Defined in:
lib/juscrcompiler.rb

#read_file(file) ⇒ Object



57
58
59
60
# File 'lib/juscrcompiler.rb', line 57

def read_file(file)
  n = File.size?(file)
  file.sysread(n)
end