From 45bcf5d46f19a8b5c26a89eef91e875eb6d05062 Mon Sep 17 00:00:00 2001 From: zzak Date: Thu, 7 Feb 2013 22:35:25 +0000 Subject: * lib/net/http.rb (HTTP.post_form): Fix module scope in documentation Patch by David Albert [Bug #7794] [ruby-core:51955] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39141 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 5 +++++ lib/net/http.rb | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index ced513d4fb..62238fd6a7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Fri Feb 8 07:34:00 2013 Zachary Scott + + * lib/net/http.rb (HTTP.post_form): Fix module scope in documentation + Patch by David Albert [Bug #7794] [ruby-core:51955] + Fri Feb 8 07:33:00 2013 Zachary Scott * compar.c (cmp_equal): Document ignored exception and return false diff --git a/lib/net/http.rb b/lib/net/http.rb index 7ae99a7ae5..d460aeaa0b 100644 --- a/lib/net/http.rb +++ b/lib/net/http.rb @@ -496,8 +496,8 @@ module Net #:nodoc: # require 'net/http' # require 'uri' # - # HTTP.post_form URI('http://www.example.com/search.cgi'), - # { "q" => "ruby", "max" => "50" } + # Net::HTTP.post_form URI('http://www.example.com/search.cgi'), + # { "q" => "ruby", "max" => "50" } # def HTTP.post_form(url, params) req = Post.new(url) -- cgit v1.2.1