The params_capturing_restore plugin allows the params_capturing plugin to work with the use of r.pass (pass plugin) or break (break plugin) inside a block that uses param capturing, restoring the previous state of the params.
This is not done by the params_capturing plugin as it requires significant extra work for every param capturing block, and most users of the params_capturing plugin are not using the pass or break plugins.
Classes and Modules
Constants
| REQUEST_INSTANCE_VARIABLES | = | [:@_params_captures_restore].freeze |
Public Class methods
load_dependencies(app)
[show source]
# File lib/roda/plugins/params_capturing_restore.rb 20 def self.load_dependencies(app) 21 app.plugin :params_capturing 22 end