Module: Uber::Builder::DSL

Defined in:
lib/uber/builder.rb

Instance Method Summary collapse

Instance Method Details

#buildersObject



25
26
27
# File 'lib/uber/builder.rb', line 25

def builders
  @builders ||= Builders.new
end

#builds(proc = nil, &block) ⇒ Object



29
30
31
# File 'lib/uber/builder.rb', line 29

def builds(proc=nil, &block)
  builders << (proc || block)
end