aboutsummaryrefslogtreecommitdiffstats
path: root/lib/uri
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-05-15 11:55:52 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-05-15 11:55:52 +0000
commit3a47cf3395dd4c4fe8bdd5df13aab698f2ca314b (patch)
treec4a278220ba8141b829c5c7b0777c1049cfe413c /lib/uri
parent39da1b63699faf30c86e753e193c29b81b16136d (diff)
downloadruby-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')
-rw-r--r--lib/uri/common.rb14
-rw-r--r--lib/uri/ftp.rb2
-rw-r--r--lib/uri/generic.rb12
3 files changed, 14 insertions, 14 deletions
diff --git a/lib/uri/common.rb b/lib/uri/common.rb
index 8d4e8c6d41..56c6946f28 100644
--- a/lib/uri/common.rb
+++ b/lib/uri/common.rb
@@ -10,9 +10,9 @@
#
module URI
- #
+ #
# Includes URI::REGEXP::PATTERN
- #
+ #
module REGEXP
#
# Patterns used to parse URI's
@@ -111,7 +111,7 @@ module URI
# see also URI::Parser.initialize_pattern
attr_reader :pattern
- # The Hash of Regexp
+ # The Hash of Regexp
#
# see also URI::Parser.initialize_regexp
attr_reader :regexp
@@ -197,7 +197,7 @@ module URI
#
# == Description
#
- # parses +uri+ and constructs either matching URI scheme object
+ # parses +uri+ and constructs either matching URI scheme object
# (FTP, HTTP, HTTPS, LDAP, LDAPS, or MailTo) or URI::Generic
#
# == Usage
@@ -237,7 +237,7 @@ module URI
uris.inject :merge
end
- #
+ #
# :call-seq:
# extract( str )
# extract( str, schemes )
@@ -279,7 +279,7 @@ module URI
end
end
- #
+ #
# :call-seq:
# escape( str )
# escape( str, unsafe )
@@ -311,7 +311,7 @@ module URI
end.force_encoding(Encoding::US_ASCII)
end
- #
+ #
# :call-seq:
# unescape( str )
# unescape( str, unsafe )
diff --git a/lib/uri/ftp.rb b/lib/uri/ftp.rb
index 53e3b28645..26e4bb8326 100644
--- a/lib/uri/ftp.rb
+++ b/lib/uri/ftp.rb
@@ -151,7 +151,7 @@ module URI
end
end
- # typecode accessor
+ # typecode accessor
#
# see URI::FTP::COMPONENT
attr_reader :typecode
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.
#