mirror of
https://github.com/ruby/ruby.git
synced 2026-01-26 20:19:19 +00:00
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
This commit is contained in:
parent
9028340deb
commit
16565fa2d7
@ -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"
|
||||
#
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user