diff options
author | zzak <zzak@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-02-07 22:35:25 +0000 |
---|---|---|
committer | zzak <zzak@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-02-07 22:35:25 +0000 |
commit | 45bcf5d46f19a8b5c26a89eef91e875eb6d05062 (patch) | |
tree | f6ed7e0e9d73422110216caf2140851c034327ce | |
parent | e798251a8a3697e7da9b0b0a26ffa06111fedf45 (diff) | |
download | ruby-45bcf5d46f19a8b5c26a89eef91e875eb6d05062.tar.gz |
* 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
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | lib/net/http.rb | 4 |
2 files changed, 7 insertions, 2 deletions
@@ -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) |