Class: Moodle2CC::Moodle2::Models::Quizzes::Answer

Inherits:
Object
  • Object
show all
Defined in:
lib/moodle2cc/moodle2/models/quizzes/answer.rb

Instance Attribute Summary collapse

Instance Attribute Details

#answer_formatObject

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_textObject

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

#feedbackObject

Returns the value of attribute feedback.



3
4
5
# File 'lib/moodle2cc/moodle2/models/quizzes/answer.rb', line 3

def feedback
  @feedback
end

#feedback_formatObject

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

#fractionObject

Returns the value of attribute fraction.



3
4
5
# File 'lib/moodle2cc/moodle2/models/quizzes/answer.rb', line 3

def fraction
  @fraction
end

#idObject

Returns the value of attribute id.



3
4
5
# File 'lib/moodle2cc/moodle2/models/quizzes/answer.rb', line 3

def id
  @id
end