class Uber::Builder::Builders

Public Instance Methods

<<(proc) click to toggle source
Calls superclass method
# File lib/uber/builder.rb, line 19
def <<(proc)
  super Uber::Option[proc, instance_exec: true]
end
call(context, *args) click to toggle source
# File lib/uber/builder.rb, line 11
def call(context, *args)
  each do |block|
    klass = block.(context, *args) and return klass # Uber::Value#call()
  end

  context
end