mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Fix URI::FTP.build code example typo
ref https://github.com/rurema/doctree/pull/462 [ci skip] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59473 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
c8247a6b47
commit
a2078e7c54
1 changed files with 1 additions and 1 deletions
|
@ -417,7 +417,7 @@ with all sufficient information, see the ChangeLog file.
|
|||
* FTP
|
||||
* URI('ftp://example.com/foo').path #=> 'foo'
|
||||
* URI('ftp://example.com/%2Ffoo').path #=> '/foo'
|
||||
* URI::FTP.build([nil, 'example.com', nil, '/foo', 'i').to_s #=> 'ftp://example.com/%2Ffoo;type=i'
|
||||
* URI::FTP.build([nil, 'example.com', nil, '/foo', 'i']).to_s #=> 'ftp://example.com/%2Ffoo;type=i'
|
||||
* URI merge
|
||||
* URI('http://a/b/c/d;p?q').merge('?y') == URI('http://a/b/c/d;p?y')
|
||||
* URI('http://a/b/c/d;p?q').merge('/./g') == URI('http://a/g')
|
||||
|
|
Loading…
Reference in a new issue