method

new

Importance_1
v6.0.0 - Show latest stable - 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.