@@ -284,7 +284,7 @@ def registry # :nodoc:
284284
285285 # Returns the parser to be used.
286286 #
287- # Unless a URI::Parser is defined, DEFAULT_PARSER is used.
287+ # Unless the +parser+ is defined, DEFAULT_PARSER is used.
288288 #
289289 def parser
290290 if !defined? ( @parser ) || !@parser
@@ -315,7 +315,7 @@ def component
315315 end
316316
317317 #
318- # Checks the scheme +v+ component against the URI::Parser Regexp for :SCHEME.
318+ # Checks the scheme +v+ component against the +parser+ Regexp for :SCHEME.
319319 #
320320 def check_scheme ( v )
321321 if v && parser . regexp [ :SCHEME ] !~ v
@@ -385,7 +385,7 @@ def check_userinfo(user, password = nil)
385385
386386 #
387387 # Checks the user +v+ component for RFC2396 compliance
388- # and against the URI::Parser Regexp for :USERINFO.
388+ # and against the +parser+ Regexp for :USERINFO.
389389 #
390390 # Can not have a registry or opaque component defined,
391391 # with a user component defined.
@@ -409,7 +409,7 @@ def check_user(v)
409409
410410 #
411411 # Checks the password +v+ component for RFC2396 compliance
412- # and against the URI::Parser Regexp for :USERINFO.
412+ # and against the +parser+ Regexp for :USERINFO.
413413 #
414414 # Can not have a registry or opaque component defined,
415415 # with a user component defined.
@@ -586,7 +586,7 @@ def decoded_password
586586
587587 #
588588 # Checks the host +v+ component for RFC2396 compliance
589- # and against the URI::Parser Regexp for :HOST.
589+ # and against the +parser+ Regexp for :HOST.
590590 #
591591 # Can not have a registry or opaque component defined,
592592 # with a host component defined.
@@ -675,7 +675,7 @@ def hostname=(v)
675675
676676 #
677677 # Checks the port +v+ component for RFC2396 compliance
678- # and against the URI::Parser Regexp for :PORT.
678+ # and against the +parser+ Regexp for :PORT.
679679 #
680680 # Can not have a registry or opaque component defined,
681681 # with a port component defined.
@@ -748,7 +748,7 @@ def registry=(v) # :nodoc:
748748
749749 #
750750 # Checks the path +v+ component for RFC2396 compliance
751- # and against the URI::Parser Regexp
751+ # and against the +parser+ Regexp
752752 # for :ABS_PATH and :REL_PATH.
753753 #
754754 # Can not have a opaque component defined,
@@ -853,7 +853,7 @@ def query=(v)
853853
854854 #
855855 # Checks the opaque +v+ component for RFC2396 compliance and
856- # against the URI::Parser Regexp for :OPAQUE.
856+ # against the +parser+ Regexp for :OPAQUE.
857857 #
858858 # Can not have a host, port, user, or path component defined,
859859 # with an opaque component defined.
@@ -905,7 +905,7 @@ def opaque=(v)
905905 end
906906
907907 #
908- # Checks the fragment +v+ component against the URI::Parser Regexp for :FRAGMENT.
908+ # Checks the fragment +v+ component against the +parser+ Regexp for :FRAGMENT.
909909 #
910910 #
911911 # == Args
0 commit comments