summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-04-12 10:17:46 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-04-12 10:17:46 +0000
commit15d2b80c8a8495c996561e9fd68cae5dfdddde16 (patch)
tree62ba0d0f78ac9724c90f2380bc233b64dd4b51ac /lib
parent795405fe3a982d8d42039065b6f000b2162f1cf6 (diff)
enable document for Kernel.open.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6146 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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) &&