From 57faf78b4c1289ca48095e751a71468cc485f63f Mon Sep 17 00:00:00 2001 From: David Albert Date: Wed, 6 Feb 2013 19:11:40 -0500 Subject: [PATCH] Fix Net::HTTP.post_form example --- lib/net/http.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/net/http.rb b/lib/net/http.rb index 7ae99a7..d460aea 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) -- 1.8.1.2