Class: Treat::Builder
- Inherits:
-
Object
- Object
- Treat::Builder
- Includes:
- Core::DSL
- Defined in:
- lib/treat/builder.rb
Instance Method Summary collapse
-
#initialize(&block) ⇒ Builder
constructor
A new instance of Builder.
Methods included from Core::DSL
Constructor Details
#initialize(&block) ⇒ Builder
Returns a new instance of Builder.
3 4 5 |
# File 'lib/treat/builder.rb', line 3 def initialize(&block) instance_exec(&block) end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Treat::Core::DSL