ruby-changes:47356
From: kazu <ko1@a...>
Date: Thu, 3 Aug 2017 00:16:31 +0900 (JST)
Subject: [ruby-changes:47356] kazu:r59473 (trunk): Fix URI::FTP.build code example typo
kazu 2017-08-03 00:10:43 +0900 (Thu, 03 Aug 2017) New Revision: 59473 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=59473 Log: Fix URI::FTP.build code example typo ref https://github.com/rurema/doctree/pull/462 [ci skip] Modified files: trunk/doc/NEWS-1.8.7 Index: doc/NEWS-1.8.7 =================================================================== --- doc/NEWS-1.8.7 (revision 59472) +++ doc/NEWS-1.8.7 (revision 59473) @@ -417,7 +417,7 @@ with all sufficient information, see the https://github.com/ruby/ruby/blob/trunk/doc/NEWS-1.8.7#L417 * 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') -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/