Class: Course::Survey::Section

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

Instance Method Summary collapse

Instance Method Details

#initialize_duplicate(duplicator, other) ⇒ Object


6
7
8
# File 'app/models/course/survey/section.rb', line 6

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