Module: Roda::RodaPlugins::ParamsCapturing::RequestMethods

Defined in:
lib/roda/plugins/params_capturing.rb

Instance Method Summary collapse

Instance Method Details

#paramsObject

Lazily initialize captures entry when params is called.



60
61
62
63
64
# File 'lib/roda/plugins/params_capturing.rb', line 60

def params
  ret = super
  ret['captures'] ||= []
  ret
end