diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-05-15 11:55:52 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-05-15 11:55:52 +0000 |
commit | 3a47cf3395dd4c4fe8bdd5df13aab698f2ca314b (patch) | |
tree | c4a278220ba8141b829c5c7b0777c1049cfe413c /lib/uri/generic.rb | |
parent | 39da1b63699faf30c86e753e193c29b81b16136d (diff) | |
download | ruby-3a47cf3395dd4c4fe8bdd5df13aab698f2ca314b.tar.gz |
* remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31573 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/uri/generic.rb')
-rw-r--r-- | lib/uri/generic.rb | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/uri/generic.rb b/lib/uri/generic.rb index 1bf4bcb080..bd5594fc3c 100644 --- a/lib/uri/generic.rb +++ b/lib/uri/generic.rb @@ -251,7 +251,7 @@ module URI # returns the port component of the URI. # # URI("http://foo/bar/baz").port #=> "80" - # + # # URI("http://foo:8080/bar/baz").port #=> "8080" # attr_reader :port @@ -265,13 +265,13 @@ module URI # returns the path component of the URI. # # URI("http://foo/bar/baz").path #=> "/bar/baz" - # + # attr_reader :path # returns the query component of the URI. # # URI("http://foo/bar/baz?search=FooBar").query #=> "search=FooBar" - # + # attr_reader :query # returns the opaque part of the URI. @@ -287,7 +287,7 @@ module URI # returns the fragment component of the URI. # # URI("http://foo/bar/baz?search=FooBar#ponies").fragment #=> "ponies" - # + # attr_reader :fragment # returns the parser to be used. @@ -518,7 +518,7 @@ module URI # (with validation) # # see also URI::Generic.userinfo= - # + # def set_userinfo(user, password = nil) unless password user, password = split_userinfo(user) @@ -1081,7 +1081,7 @@ module URI end private :split_path - # + # # Merges a base path +base+, with relative path +rel+, # returns a modified base path. # |