class GithubToCanvasQuiz::Parser::Markdown::Answer::Matching

Public Instance Methods

parse() click to toggle source
# File lib/github_to_canvas_quiz/parser/markdown/answer/matching.rb, line 8
def parse
  left, right = parse_text_from_nodes(answer_nodes, 'li')

  Model::Answer::Matching.new(
    title: title,
    left: left,
    right: right,
    text: left,
    comments: comment
  )
end