Skip to content

Commit

Permalink
* lib/net/http.rb: Fix documentation.
Browse files Browse the repository at this point in the history
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34781 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
ayumin committed Feb 24, 2012
1 parent 7e76ab5 commit e0f4a55
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
Fri Feb 24 12:07:34 2012 Ayumu AIZAWA <[email protected]>

* 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 <[email protected]>

* string.c (rb_str_prepend): Fix documentation for String#prepend.
Expand Down
2 changes: 1 addition & 1 deletion lib/net/http.rb
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ class HTTPHeaderSyntaxError < StandardError; end
# 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
Expand Down

0 comments on commit e0f4a55

Please sign in to comment.