Sha256: 8b64caf2372c837545dc236937b2f0bc075e4b869cd8a48e4adc8059c21c5232
Contents?: true
Size: 471 Bytes
Versions: 59
Compression:
Stored size: 471 Bytes
Contents
# encoding: utf-8 # This class exists to quietly wrap a password string so that, when printed or # logged, you don't accidentally print the password itself. module LogStash module Util class Password attr_reader :value public def initialize(password) @value = password end # def initialize public def to_s return "<password>" end # def to_s public def inspect return to_s end # def inspect end end end # class LogStash::Util::Password
Version data entries
59 entries across 59 versions & 1 rubygems