class Mathtype::FileParser
Attributes
equation[R]
raw[R]
Public Class Methods
new(path)
click to toggle source
# File lib/file_parser/parser.rb, line 5 def initialize(path) read_from_file(path) end
Public Instance Methods
read_from_file(path)
click to toggle source
# File lib/file_parser/parser.rb, line 9 def read_from_file(path) f = File.open(path, "rb") @raw = f.read f.close end