Module: ParamsReady::DelegatingBuilder

Defined in:
lib/params_ready/builder.rb

Class Method Summary collapse

Class Method Details

.[](delegee_name) ⇒ Object



153
154
155
156
157
158
159
# File 'lib/params_ready/builder.rb', line 153

def self.[](delegee_name)
  mod = Module.new
  Extensions::Delegation.delegate(mod) do
    @definition.send(delegee_name)
  end
  mod
end