Sha256: a69f733d4191ea0241a1c7bab2b5539627780622243f100f86fca98f977ac545
Contents?: true
Size: 281 Bytes
Versions: 2
Compression:
Stored size: 281 Bytes
Contents
module AttrMasker module Maskers # 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. # SIMPLE = lambda do |_opts| "(redacted)" end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
attr_masker-0.1.1 | lib/attr_masker/maskers/simple.rb |
attr_masker-0.1.0 | lib/attr_masker/maskers/simple.rb |