Class: Quby::Compiler::DSL::Base
- Inherits:
-
Object
- Object
- Quby::Compiler::DSL::Base
- Includes:
- Helpers
- Defined in:
- lib/quby/compiler/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, **kwargs, &block) ⇒ Object
12 13 14 15 16 |
# File 'lib/quby/compiler/dsl/base.rb', line 12 def self.build(*args, **kwargs, &block) builder = new(*args, **kwargs) builder.instance_eval(&block) if block builder.build end |