Class: Moodle2CC::Moodle2::Models::Quizzes::Quiz
- Inherits:
-
Object
- Object
- Moodle2CC::Moodle2::Models::Quizzes::Quiz
- Defined in:
- lib/moodle2cc/moodle2/models/quizzes/quiz.rb
Instance Attribute Summary collapse
-
#attempt_on_last ⇒ Object
Returns the value of attribute attempt_on_last.
-
#attempts_number ⇒ Object
Returns the value of attribute attempts_number.
-
#browser_security ⇒ Object
Returns the value of attribute browser_security.
-
#decimal_points ⇒ Object
Returns the value of attribute decimal_points.
-
#delay1 ⇒ Object
Returns the value of attribute delay1.
-
#delay2 ⇒ Object
Returns the value of attribute delay2.
-
#feedbacks ⇒ Object
Returns the value of attribute feedbacks.
-
#grace_period ⇒ Object
Returns the value of attribute grace_period.
-
#grade ⇒ Object
Returns the value of attribute grade.
-
#grade_method ⇒ Object
Returns the value of attribute grade_method.
-
#id ⇒ Object
Returns the value of attribute id.
-
#intro ⇒ Object
Returns the value of attribute intro.
-
#intro_format ⇒ Object
Returns the value of attribute intro_format.
-
#module_id ⇒ Object
Returns the value of attribute module_id.
-
#name ⇒ Object
Returns the value of attribute name.
-
#nav_method ⇒ Object
Returns the value of attribute nav_method.
-
#overdue_handling ⇒ Object
Returns the value of attribute overdue_handling.
-
#password ⇒ Object
Returns the value of attribute password.
-
#preferred_behavior ⇒ Object
Returns the value of attribute preferred_behavior.
-
#question_decimal_points ⇒ Object
Returns the value of attribute question_decimal_points.
-
#question_instances ⇒ Object
Returns the value of attribute question_instances.
-
#questions_per_page ⇒ Object
Returns the value of attribute questions_per_page.
-
#review_attempt ⇒ Object
Returns the value of attribute review_attempt.
-
#review_correctness ⇒ Object
Returns the value of attribute review_correctness.
-
#review_general_feedback ⇒ Object
Returns the value of attribute review_general_feedback.
-
#review_marks ⇒ Object
Returns the value of attribute review_marks.
-
#review_overall_feedback ⇒ Object
Returns the value of attribute review_overall_feedback.
-
#review_right_answer ⇒ Object
Returns the value of attribute review_right_answer.
-
#review_specific_feedback ⇒ Object
Returns the value of attribute review_specific_feedback.
-
#show_blocks ⇒ Object
Returns the value of attribute show_blocks.
-
#show_user_picture ⇒ Object
Returns the value of attribute show_user_picture.
-
#shuffle_answers ⇒ Object
Returns the value of attribute shuffle_answers.
-
#shuffle_questions ⇒ Object
Returns the value of attribute shuffle_questions.
-
#subnet ⇒ Object
Returns the value of attribute subnet.
-
#sum_grades ⇒ Object
Returns the value of attribute sum_grades.
-
#time_close ⇒ Object
Returns the value of attribute time_close.
-
#time_created ⇒ Object
Returns the value of attribute time_created.
-
#time_limit ⇒ Object
Returns the value of attribute time_limit.
-
#time_modified ⇒ Object
Returns the value of attribute time_modified.
-
#time_open ⇒ Object
Returns the value of attribute time_open.
-
#visible ⇒ Object
Returns the value of attribute visible.
Instance Method Summary collapse
-
#initialize ⇒ Quiz
constructor
A new instance of Quiz.
Constructor Details
#initialize ⇒ Quiz
Returns a new instance of Quiz.
15 16 17 18 |
# File 'lib/moodle2cc/moodle2/models/quizzes/quiz.rb', line 15 def initialize @question_instances = [] @feedbacks = [] end |
Instance Attribute Details
#attempt_on_last ⇒ Object
Returns the value of attribute attempt_on_last.
4 5 6 |
# File 'lib/moodle2cc/moodle2/models/quizzes/quiz.rb', line 4 def attempt_on_last @attempt_on_last end |
#attempts_number ⇒ Object
Returns the value of attribute attempts_number.
4 5 6 |
# File 'lib/moodle2cc/moodle2/models/quizzes/quiz.rb', line 4 def attempts_number @attempts_number end |
#browser_security ⇒ Object
Returns the value of attribute browser_security.
4 5 6 |
# File 'lib/moodle2cc/moodle2/models/quizzes/quiz.rb', line 4 def browser_security @browser_security end |
#decimal_points ⇒ Object
Returns the value of attribute decimal_points.
4 5 6 |
# File 'lib/moodle2cc/moodle2/models/quizzes/quiz.rb', line 4 def decimal_points @decimal_points end |
#delay1 ⇒ Object
Returns the value of attribute delay1.
4 5 6 |
# File 'lib/moodle2cc/moodle2/models/quizzes/quiz.rb', line 4 def delay1 @delay1 end |
#delay2 ⇒ Object
Returns the value of attribute delay2.
4 5 6 |
# File 'lib/moodle2cc/moodle2/models/quizzes/quiz.rb', line 4 def delay2 @delay2 end |
#feedbacks ⇒ Object
Returns the value of attribute feedbacks.
4 5 6 |
# File 'lib/moodle2cc/moodle2/models/quizzes/quiz.rb', line 4 def feedbacks @feedbacks end |
#grace_period ⇒ Object
Returns the value of attribute grace_period.
4 5 6 |
# File 'lib/moodle2cc/moodle2/models/quizzes/quiz.rb', line 4 def grace_period @grace_period end |
#grade ⇒ Object
Returns the value of attribute grade.
4 5 6 |
# File 'lib/moodle2cc/moodle2/models/quizzes/quiz.rb', line 4 def grade @grade end |
#grade_method ⇒ Object
Returns the value of attribute grade_method.
4 5 6 |
# File 'lib/moodle2cc/moodle2/models/quizzes/quiz.rb', line 4 def grade_method @grade_method end |
#id ⇒ Object
Returns the value of attribute id.
4 5 6 |
# File 'lib/moodle2cc/moodle2/models/quizzes/quiz.rb', line 4 def id @id end |
#intro ⇒ Object
Returns the value of attribute intro.
4 5 6 |
# File 'lib/moodle2cc/moodle2/models/quizzes/quiz.rb', line 4 def intro @intro end |
#intro_format ⇒ Object
Returns the value of attribute intro_format.
4 5 6 |
# File 'lib/moodle2cc/moodle2/models/quizzes/quiz.rb', line 4 def intro_format @intro_format end |
#module_id ⇒ Object
Returns the value of attribute module_id.
4 5 6 |
# File 'lib/moodle2cc/moodle2/models/quizzes/quiz.rb', line 4 def module_id @module_id end |
#name ⇒ Object
Returns the value of attribute name.
4 5 6 |
# File 'lib/moodle2cc/moodle2/models/quizzes/quiz.rb', line 4 def name @name end |
#nav_method ⇒ Object
Returns the value of attribute nav_method.
4 5 6 |
# File 'lib/moodle2cc/moodle2/models/quizzes/quiz.rb', line 4 def nav_method @nav_method end |
#overdue_handling ⇒ Object
Returns the value of attribute overdue_handling.
4 5 6 |
# File 'lib/moodle2cc/moodle2/models/quizzes/quiz.rb', line 4 def overdue_handling @overdue_handling end |
#password ⇒ Object
Returns the value of attribute password.
4 5 6 |
# File 'lib/moodle2cc/moodle2/models/quizzes/quiz.rb', line 4 def password @password end |
#preferred_behavior ⇒ Object
Returns the value of attribute preferred_behavior.
4 5 6 |
# File 'lib/moodle2cc/moodle2/models/quizzes/quiz.rb', line 4 def preferred_behavior @preferred_behavior end |
#question_decimal_points ⇒ Object
Returns the value of attribute question_decimal_points.
4 5 6 |
# File 'lib/moodle2cc/moodle2/models/quizzes/quiz.rb', line 4 def question_decimal_points @question_decimal_points end |
#question_instances ⇒ Object
Returns the value of attribute question_instances.
4 5 6 |
# File 'lib/moodle2cc/moodle2/models/quizzes/quiz.rb', line 4 def question_instances @question_instances end |
#questions_per_page ⇒ Object
Returns the value of attribute questions_per_page.
4 5 6 |
# File 'lib/moodle2cc/moodle2/models/quizzes/quiz.rb', line 4 def questions_per_page @questions_per_page end |
#review_attempt ⇒ Object
Returns the value of attribute review_attempt.
4 5 6 |
# File 'lib/moodle2cc/moodle2/models/quizzes/quiz.rb', line 4 def review_attempt @review_attempt end |
#review_correctness ⇒ Object
Returns the value of attribute review_correctness.
4 5 6 |
# File 'lib/moodle2cc/moodle2/models/quizzes/quiz.rb', line 4 def review_correctness @review_correctness end |
#review_general_feedback ⇒ Object
Returns the value of attribute review_general_feedback.
4 5 6 |
# File 'lib/moodle2cc/moodle2/models/quizzes/quiz.rb', line 4 def review_general_feedback @review_general_feedback end |
#review_marks ⇒ Object
Returns the value of attribute review_marks.
4 5 6 |
# File 'lib/moodle2cc/moodle2/models/quizzes/quiz.rb', line 4 def review_marks @review_marks end |
#review_overall_feedback ⇒ Object
Returns the value of attribute review_overall_feedback.
4 5 6 |
# File 'lib/moodle2cc/moodle2/models/quizzes/quiz.rb', line 4 def review_overall_feedback @review_overall_feedback end |
#review_right_answer ⇒ Object
Returns the value of attribute review_right_answer.
4 5 6 |
# File 'lib/moodle2cc/moodle2/models/quizzes/quiz.rb', line 4 def review_right_answer @review_right_answer end |
#review_specific_feedback ⇒ Object
Returns the value of attribute review_specific_feedback.
4 5 6 |
# File 'lib/moodle2cc/moodle2/models/quizzes/quiz.rb', line 4 def review_specific_feedback @review_specific_feedback end |
#show_blocks ⇒ Object
Returns the value of attribute show_blocks.
4 5 6 |
# File 'lib/moodle2cc/moodle2/models/quizzes/quiz.rb', line 4 def show_blocks @show_blocks end |
#show_user_picture ⇒ Object
Returns the value of attribute show_user_picture.
4 5 6 |
# File 'lib/moodle2cc/moodle2/models/quizzes/quiz.rb', line 4 def show_user_picture @show_user_picture end |
#shuffle_answers ⇒ Object
Returns the value of attribute shuffle_answers.
4 5 6 |
# File 'lib/moodle2cc/moodle2/models/quizzes/quiz.rb', line 4 def shuffle_answers @shuffle_answers end |
#shuffle_questions ⇒ Object
Returns the value of attribute shuffle_questions.
4 5 6 |
# File 'lib/moodle2cc/moodle2/models/quizzes/quiz.rb', line 4 def shuffle_questions @shuffle_questions end |
#subnet ⇒ Object
Returns the value of attribute subnet.
4 5 6 |
# File 'lib/moodle2cc/moodle2/models/quizzes/quiz.rb', line 4 def subnet @subnet end |
#sum_grades ⇒ Object
Returns the value of attribute sum_grades.
4 5 6 |
# File 'lib/moodle2cc/moodle2/models/quizzes/quiz.rb', line 4 def sum_grades @sum_grades end |
#time_close ⇒ Object
Returns the value of attribute time_close.
4 5 6 |
# File 'lib/moodle2cc/moodle2/models/quizzes/quiz.rb', line 4 def time_close @time_close end |
#time_created ⇒ Object
Returns the value of attribute time_created.
4 5 6 |
# File 'lib/moodle2cc/moodle2/models/quizzes/quiz.rb', line 4 def time_created @time_created end |
#time_limit ⇒ Object
Returns the value of attribute time_limit.
4 5 6 |
# File 'lib/moodle2cc/moodle2/models/quizzes/quiz.rb', line 4 def time_limit @time_limit end |
#time_modified ⇒ Object
Returns the value of attribute time_modified.
4 5 6 |
# File 'lib/moodle2cc/moodle2/models/quizzes/quiz.rb', line 4 def time_modified @time_modified end |
#time_open ⇒ Object
Returns the value of attribute time_open.
4 5 6 |
# File 'lib/moodle2cc/moodle2/models/quizzes/quiz.rb', line 4 def time_open @time_open end |
#visible ⇒ Object
Returns the value of attribute visible.
4 5 6 |
# File 'lib/moodle2cc/moodle2/models/quizzes/quiz.rb', line 4 def visible @visible end |