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 --- lib/net/http.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/net/http.rb') 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.3