Class: ParamsReady::Builder

Inherits:
AbstractBuilder show all
Includes:
HavingValue
Defined in:
lib/params_ready/builder.rb,
lib/params_ready/query/grouping.rb

Defined Under Namespace

Modules: GroupingLike

Instance Method Summary collapse

Methods inherited from AbstractBuilder

#build, builder, define_parameter, define_registered_parameter, #fetch, fetch_builder, #include, #initialize, instance, #open?, register, register_deprecated, resolve

Methods included from Extensions::Registry

#human_string, #registry

Constructor Details

This class inherits a constructor from ParamsReady::AbstractBuilder

Instance Method Details

#helper(name, &block) ⇒ Object



147
148
149
# File 'lib/params_ready/builder.rb', line 147

def helper(name, &block)
  @definition.add_helper [name, block]
end