aboutsummaryrefslogtreecommitdiffstats
path: root/lib/uri
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-08-15 01:05:50 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-08-15 01:05:50 +0000
commit84f9cce4dc41b29942b9366063e1e571e1a019d1 (patch)
tree277de6fe3d9208527542cf8b3056484da73ca9d9 /lib/uri
parent9e7ac729cd252226bd93753faad92f54e9388dc2 (diff)
downloadruby-84f9cce4dc41b29942b9366063e1e571e1a019d1.tar.gz
ftp.rb: fix example format [ci skip]
* lib/uri/ftp.rb: [DOC] fix format of example URLs. patched by aycabta (Code Ahss) at [ruby-core:82379]. [Bug #13814] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59598 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/uri')
-rw-r--r--lib/uri/ftp.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/uri/ftp.rb b/lib/uri/ftp.rb
index e5c00b34da..90c1403ce6 100644
--- a/lib/uri/ftp.rb
+++ b/lib/uri/ftp.rb
@@ -226,7 +226,7 @@ module URI
# RFC 1738 specifically states that the path for an FTP URI does not
# include the / which separates the URI path from the URI host. Example:
#
- # ftp://ftp.example.com/pub/ruby
+ # +ftp://ftp.example.com/pub/ruby+
#
# The above URI indicates that the client should connect to
# ftp.example.com then cd pub/ruby from the initial login directory.
@@ -234,7 +234,7 @@ module URI
# If you want to cd to an absolute directory, you must include an
# escaped / (%2F) in the path. Example:
#
- # ftp://ftp.example.com/%2Fpub/ruby
+ # +ftp://ftp.example.com/%2Fpub/ruby+
#
# This method will then return "/pub/ruby"
#