class GithubToCanvasQuiz::Parser::Markdown::Answer::ShortAnswer
Public Instance Methods
parse()
click to toggle source
# File lib/github_to_canvas_quiz/parser/markdown/answer/short_answer.rb, line 8 def parse text = parse_text_from_nodes(answer_nodes, 'p').first Model::Answer::ShortAnswer.new( title: title, text: text, comments: comment ) end