Class: Treat::Builder

Inherits:
Object
  • Object
show all
Includes:
Core::DSL
Defined in:
lib/treat/builder.rb

Instance Method Summary collapse

Methods included from Core::DSL

included, #method_missing

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