Module: Quby::Answers::DSL

Defined in:
lib/quby/answers/dsl.rb

Class Method Summary collapse

Class Method Details

.enhance(target_instance) ⇒ Object



6
7
8
9
10
# File 'lib/quby/answers/dsl.rb', line 6

def self.enhance(target_instance)
  answer = target_instance
  questionnaire = target_instance.questionnaire
  answer.extend(questionnaire.answer_dsl_module)
end