Class: Course::Survey::Question

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

Instance Method Summary collapse

Instance Method Details

#initialize_duplicate(duplicator, other) ⇒ Object


13
14
15
# File 'app/models/course/survey/question.rb', line 13

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