method

new

Importance_1
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: ParameterFilter
new(filters = [], mask: FILTERED) public

Create instance with given filters. Supported type of filters are String, Regexp, and Proc. Other types of filters are treated as String using to_s. For Proc filters, key, value, and optional original hash is passed to block arguments.

Options

  • :mask - A replaced object when filtered. Defaults to "[FILTERED]".

Show source
Register or log in to add new notes.