method
sanitize
sanitize(s)
private
Hide source
# File lib/net/ftp.rb, line 222 def sanitize(s) if s =~ /^PASS / return s[0, 5] + "*" * (s.length - 5) else return s end end