Module: AttrMasker::Maskers

Defined in:
lib/attr_masker.rb,
lib/attr_masker/maskers/simple.rb,
lib/attr_masker/maskers/replacing.rb

Defined Under Namespace

Classes: Replacing

Constant Summary collapse

SIMPLE =

This default masker simply replaces any value with a fixed string.

opts is a Hash with the key :value that gives you the current attribute value.

lambda do |_opts|
  "(redacted)"
end