Class: QuizAnswerDrop
- Inherits:
-
Liquid::Simplero::Drop
- Object
- Liquid::Drop
- Liquid::Simplero::Drop
- QuizAnswerDrop
- Defined in:
- app/drops/quiz_answer_drop.rb
Overview
QuizAnswerDrop represents answer to QuizQuestionDrop
Instance Method Summary collapse
- #answered? ⇒ Boolean
- #answered_correctly? ⇒ Boolean
- #answered_incorrectly? ⇒ Boolean
- #correct? ⇒ Boolean
- #id ⇒ Integer
- #incorrect? ⇒ Boolean
- #input ⇒ String
-
#input_type ⇒ String
'checkbox' or 'radio'.
- #response_correct? ⇒ Boolean
-
#show_correct_answer? ⇒ Boolean
Returns true or false to display the correct answer or not when the user has incorrectly answered a question.
- #text ⇒ String
Methods inherited from Liquid::Simplero::Drop
Instance Method Details
#answered? ⇒ Boolean
#answered_correctly? ⇒ Boolean
#answered_incorrectly? ⇒ Boolean
#correct? ⇒ Boolean
#id ⇒ Integer
#incorrect? ⇒ Boolean
#input ⇒ String
#input_type ⇒ String
Returns 'checkbox' or 'radio'.
#response_correct? ⇒ Boolean
#show_correct_answer? ⇒ Boolean
Returns true or false to display the correct answer or not when the user has incorrectly answered a question