class Declarative::Builder::Builders

Public Instance Methods

<<(proc) click to toggle source
Calls superclass method
# File lib/declarative/builder.rb, line 19
def <<(proc)
  super Trailblazer::Option( proc )
end
call(context, *args, **options) click to toggle source
# File lib/declarative/builder.rb, line 11
def call(context, *args, **options)
  each do |block|
    klass = block.(*args, exec_context: context, keyword_arguments: options) and return klass # Trailblazer::Option#call()
  end

  context
end