Class: Moodle2CC::Moodle2::Models::Quizzes::Answer
- Inherits:
-
Object
- Object
- Moodle2CC::Moodle2::Models::Quizzes::Answer
- Defined in:
- lib/moodle2cc/moodle2/models/quizzes/answer.rb
Instance Attribute Summary collapse
-
#answer_format ⇒ Object
Returns the value of attribute answer_format.
-
#answer_text ⇒ Object
Returns the value of attribute answer_text.
-
#feedback ⇒ Object
Returns the value of attribute feedback.
-
#feedback_format ⇒ Object
Returns the value of attribute feedback_format.
-
#fraction ⇒ Object
Returns the value of attribute fraction.
-
#id ⇒ Object
Returns the value of attribute id.
Instance Attribute Details
#answer_format ⇒ Object
Returns the value of attribute answer_format.
3 4 5 |
# File 'lib/moodle2cc/moodle2/models/quizzes/answer.rb', line 3 def answer_format @answer_format end |
#answer_text ⇒ Object
Returns the value of attribute answer_text.
3 4 5 |
# File 'lib/moodle2cc/moodle2/models/quizzes/answer.rb', line 3 def answer_text @answer_text end |
#feedback ⇒ Object
Returns the value of attribute feedback.
3 4 5 |
# File 'lib/moodle2cc/moodle2/models/quizzes/answer.rb', line 3 def feedback @feedback end |
#feedback_format ⇒ Object
Returns the value of attribute feedback_format.
3 4 5 |
# File 'lib/moodle2cc/moodle2/models/quizzes/answer.rb', line 3 def feedback_format @feedback_format end |
#fraction ⇒ Object
Returns the value of attribute fraction.
3 4 5 |
# File 'lib/moodle2cc/moodle2/models/quizzes/answer.rb', line 3 def fraction @fraction end |
#id ⇒ Object
Returns the value of attribute id.
3 4 5 |
# File 'lib/moodle2cc/moodle2/models/quizzes/answer.rb', line 3 def id @id end |