зеркало из https://github.com/github/ruby.git
* lib/net/http.rb: Fix documentation.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34781 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
7e76ab5e5e
Коммит
e0f4a550e5
|
@ -1,3 +1,8 @@
|
|||
Fri Feb 24 12:07:34 2012 Ayumu AIZAWA <ayumu.aizawa@gmail.com>
|
||||
|
||||
* lib/net/http.rb: Fix documentation. Patched from Florian Mhun
|
||||
via http://github.com/ruby/ruby/pull/96
|
||||
|
||||
Fri Feb 24 11:48:07 2012 Ayumu AIZAWA <ayumu.aizawa@gmail.com>
|
||||
|
||||
* string.c (rb_str_prepend): Fix documentation for String#prepend.
|
||||
|
|
|
@ -256,7 +256,7 @@ module Net #:nodoc:
|
|||
# uri = URI('https://secure.example.com/some_path?query=string')
|
||||
#
|
||||
# Net::HTTP.start(uri.host, uri.port,
|
||||
# :use_ssl => uri.scheme == 'https').start do |http|
|
||||
# :use_ssl => uri.scheme == 'https') do |http|
|
||||
# request = Net::HTTP::Get.new uri.request_uri
|
||||
#
|
||||
# response = http.request request # Net::HTTPResponse object
|
||||
|
|
Загрузка…
Ссылка в новой задаче