Method: Quby::AnswersHelper#get_question

Defined in:
app/helpers/quby/answers_helper.rb

#get_question(table, rowi, j) ⇒ Object



35
36
37
38
# File 'app/helpers/quby/answers_helper.rb', line 35

def get_question(table, rowi, j)
  q = get_item(table, rowi, j)
  q.is_a?(Quby::Questionnaires::Entities::Question) ? q : nil
end