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