summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--lib/net/http.rb4
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 <zachary@zacharyscott.net>
+
+ * 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 <zachary@zacharyscott.net>
* 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)