Class: Course::Survey::QuestionOption

Inherits:
ApplicationRecord show all
Defined in:
app/models/course/survey/question_option.rb

Instance Method Summary collapse

Instance Method Details

#initialize_duplicate(duplicator, other) ⇒ Object


9
10
11
# File 'app/models/course/survey/question_option.rb', line 9

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