summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--lib/net/http.rb3
2 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 59537ae8a7..fb4de3e11a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Tue May 17 07:00:41 2011 Eric Hodel <drbrain@segment7.net>
+
+ * lib/net/http.rb: Fix nodoc for Net::HTTP::version_1_1?. Patch by
+ Alf Mikula. [Ruby 1.9 - Bug #4713]
+
Tue May 17 06:56:26 2011 Eric Hodel <drbrain@segment7.net>
* lib/optparse.rb: Add link to make_switch to improve documentation.
diff --git a/lib/net/http.rb b/lib/net/http.rb
index a2891495d5..553ebd9df2 100644
--- a/lib/net/http.rb
+++ b/lib/net/http.rb
@@ -385,8 +385,7 @@ module Net #:nodoc:
true
end
- # :nodoc:
- def HTTP.version_1_1?
+ def HTTP.version_1_1? #:nodoc:
false
end