Class: Moodle2CC::Moodle2::Models::Quizzes::TrueFalseQuestion
- Defined in:
- lib/moodle2cc/moodle2/models/quizzes/true_false_question.rb
Constant Summary
Constants inherited from Question
Instance Attribute Summary collapse
-
#false_answer ⇒ Object
Returns the value of attribute false_answer.
-
#true_answer ⇒ Object
Returns the value of attribute true_answer.
-
#true_false_id ⇒ Object
Returns the value of attribute true_false_id.
Attributes inherited from Question
#answers, #default_mark, #general_feedback, #hidden, #id, #length, #max_mark, #name, #parent, #penalty, #qtype, #question_text, #question_text_format, #stamp, #type, #version
Method Summary
Methods inherited from Question
create, #initialize, register_question_type
Constructor Details
This class inherits a constructor from Moodle2CC::Moodle2::Models::Quizzes::Question
Instance Attribute Details
#false_answer ⇒ Object
Returns the value of attribute false_answer.
4 5 6 |
# File 'lib/moodle2cc/moodle2/models/quizzes/true_false_question.rb', line 4 def false_answer @false_answer end |
#true_answer ⇒ Object
Returns the value of attribute true_answer.
4 5 6 |
# File 'lib/moodle2cc/moodle2/models/quizzes/true_false_question.rb', line 4 def true_answer @true_answer end |
#true_false_id ⇒ Object
Returns the value of attribute true_false_id.
4 5 6 |
# File 'lib/moodle2cc/moodle2/models/quizzes/true_false_question.rb', line 4 def true_false_id @true_false_id end |