Class: Quby::Questionnaires::DSL::Base

Inherits:
Object
  • Object
show all
Includes:
Helpers
Defined in:
lib/quby/questionnaires/dsl/base.rb

Direct Known Subclasses

PanelBuilder, Questions::Base

Class Method Summary collapse

Methods included from Helpers

#check_question_keys_uniqueness, #image_alt, #image_tag, #video_tag

Class Method Details

.build(*args, &block) ⇒ Object



12
13
14
15
16
# File 'lib/quby/questionnaires/dsl/base.rb', line 12

def self.build(*args, &block)
  builder = new(*args)
  builder.instance_eval(&block) if block
  builder.build
end