Module: Roda::RodaPlugins::ParamsCapturing::RequestMethods
- Defined in:
- lib/roda/plugins/params_capturing.rb
Instance Method Summary collapse
-
#params ⇒ Object
Lazily initialize captures entry when params is called.
Instance Method Details
#params ⇒ Object
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 |