Method: CatEngine::Question::XMLMapper#responses

Defined in:
lib/cat_engine/question.rb

#responsesObject



58
59
60
61
62
# File 'lib/cat_engine/question.rb', line 58

def responses
  xml.xpath("//Map").map do |xml|
    Response.new(xml: xml)
  end
end