password=(password)
public
Args
Description
Public setter for the password component (with validation).
See also URI::Generic.check_password.
Usage
require 'uri'
uri = URI.parse("http://john:S3nsit1ve@my.example.com")
uri.password = "V3ry_S3nsit1ve"
uri.to_s
Show source
def password=(password)
check_password(password)
set_password(password)
end