зеркало из https://github.com/github/ruby.git
* lib/uri/http.rb (URI::HTTP.build): Fix example
Patch by Carina C. Zona [Fixes #209 Github] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37472 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
1362d81a22
Коммит
0ba78cb2f7
|
@ -1,3 +1,9 @@
|
|||
Mon Nov 5 12:17:00 2012 Zachary Scott <zachary@zacharyscott.net>
|
||||
|
||||
* lib/uri/http.rb (URI::HTTP.build): Fix example
|
||||
Patch by Carina C. Zona
|
||||
[Fixes #209 Github]
|
||||
|
||||
Sun Nov 4 20:29:46 2012 Takeyuki FUJIOKA <xibbar@ruby-lang.org>
|
||||
|
||||
* lib/cgi.rb, lib/cgi/*/rb: rename CGI#header to CGI#http_header,
|
||||
|
|
|
@ -49,7 +49,7 @@ module URI
|
|||
# Example:
|
||||
#
|
||||
# newuri = URI::HTTP.build({:host => 'www.example.com',
|
||||
# :path> => '/foo/bar'})
|
||||
# :path => '/foo/bar'})
|
||||
#
|
||||
# newuri = URI::HTTP.build([nil, "www.example.com", nil, "/path",
|
||||
# "query", 'fragment'])
|
||||
|
|
Загрузка…
Ссылка в новой задаче