Methods
F
N
Constants
FILTERED = '[FILTERED]'.freeze
 
Class Public methods
new(filters)
# File actionpack/lib/action_dispatch/http/parameter_filter.rb, line 5
def initialize(filters)
  @filters = filters
end
Instance Public methods
filter(params)
# File actionpack/lib/action_dispatch/http/parameter_filter.rb, line 9
def filter(params)
  if enabled?
    compiled_filter.call(params)
  else
    params.dup
  end
end