summaryrefslogtreecommitdiff
path: root/lib/uri/generic.rb
diff options
context:
space:
mode:
-rw-r--r--lib/uri/generic.rb14
1 files changed, 12 insertions, 2 deletions
@@ -564,16 +564,26 @@ module URI
end
end
- # Returns the user component.
def user
@user
end
- # Returns the password component.
def password
@password
end
#
# Checks the host +v+ component for RFC2396 compliance
# and against the URI::Parser Regexp for :HOST.