diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/uri/generic.rb | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/uri/generic.rb b/lib/uri/generic.rb index da7e3c5263..7a05438f88 100644 --- a/lib/uri/generic.rb +++ b/lib/uri/generic.rb @@ -267,12 +267,13 @@ module URI # attr_reader :query - # returns the opaque part of the URI. + # Returns the opaque part of the URI. # # URI("mailto:[email protected]").opaque #=> "[email protected]" + # URI("http://foo/bar/baz").opaque #=> nil # - # Portion of the path that does make use of the slash '/'. - # The path typically refers to the absolute path and the opaque part. + # The portion of the path that does not make use of the slash '/'. + # The path typically refers to an absolute path or an opaque part. # (See RFC2396 Section 3 and 5.2.) # attr_reader :opaque |