summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/open-uri.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/open-uri.rb b/lib/open-uri.rb
index e1b8783f9d..b41fcb402d 100644
--- a/lib/open-uri.rb
+++ b/lib/open-uri.rb
@@ -76,7 +76,7 @@ module Kernel
# Kernel[#.]open can accepts such URIs and strings which begins with
# http:// and ftp://. In this http and ftp case, the opened file object
# is extended by OpenURI::Meta.
- def open(name, *rest, &block)
+ def open(name, *rest, &block) # :doc:
if name.respond_to?(:open)
name.open(*rest, &block)
elsif name.respond_to?(:to_str) &&