class GithubToCanvasQuiz::Parser::Markdown::Answer::MultipleChoice

Public Instance Methods

parse() click to toggle source
# File lib/github_to_canvas_quiz/parser/markdown/answer/multiple_choice.rb, line 8
def parse
  Model::Answer::MultipleChoice.new(
    title: title,
    text: answer_nodes.to_html.strip,
    comments: comment
  )
end