Class: Course::Assessment::Question::TextResponseSolution

Inherits:
ApplicationRecord
  • Object
show all
Defined in:
app/models/course/assessment/question/text_response_solution.rb

Instance Method Summary collapse

Instance Method Details

#initialize_duplicate(duplicator, other) ⇒ Object


11
12
13
# File 'app/models/course/assessment/question/text_response_solution.rb', line 11

def initialize_duplicate(duplicator, other)
  self.question = duplicator.duplicate(other.question)
end