Sha256: d26a63eb61f4a09fac7bb100619363b3a94e56dea03e19aa2af8dfadceb0f4cc
Contents?: true
Size: 500 Bytes
Versions: 17
Compression:
Stored size: 500 Bytes
Contents
# encoding: utf-8 require "logstash/namespace" # 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
17 entries across 17 versions & 1 rubygems