Class: Quby::Questionnaires::DSL::Base
- Inherits:
-
Object
- Object
- Quby::Questionnaires::DSL::Base
- Includes:
- Helpers
- Defined in:
- lib/quby/questionnaires/dsl/base.rb
Direct Known Subclasses
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 |