Method: Mathtype::FileParser#read_from_file

Defined in:
lib/file_parser/parser.rb

#read_from_file(path) ⇒ Object



9
10
11
12
13
# File 'lib/file_parser/parser.rb', line 9

def read_from_file(path)
  f = File.open(path, "rb")
  @raw = f.read
  f.close
end