sanitize(s) private

No documentation

This method has no description. You can help the Ruby community by adding new notes.

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
Register or log in to add new notes.