lib/resumetools/resume/text_reader.rb in resumetools-0.2.7.0 vs lib/resumetools/resume/text_reader.rb in resumetools-0.2.7.6
- old
+ new
@@ -33,10 +33,10 @@
Treetop.load File.join(File.dirname(__FILE__), '..', 'grammars', 'resume.treetop')
# Builds a new Resume instance from text
def from_text(text)
- parser = ::ResumeParser.new
+ parser = ResumeTools::ResumeGrammarParser.new
result = parser.parse(text)
if result.nil?
raise ParseException.new(parser.failure_reason)
end
\ No newline at end of file