= private = protected
sanitize(s)
If string s includes the PASS command (password), then the contents of the password are cleaned from the string using “*”
# File lib/net/ftp.rb, line 407 def sanitize(s) # :nodoc: if s =~ /^PASS / return s[0, 5] + "*" * (s.length - 5) else return s end end