summaryrefslogtreecommitdiffstats
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
commit74923adea3194b60acfdd9e3bb5a5e1cc50a3519 (patch)
tree62ba0d0f78ac9724c90f2380bc233b64dd4b51ac
parent2019336026c41d8153686b0968e461fe193d9d75 (diff)
downloadruby-74923adea3194b60acfdd9e3bb5a5e1cc50a3519.tar.gz
ruby-74923adea3194b60acfdd9e3bb5a5e1cc50a3519.tar.xz
ruby-74923adea3194b60acfdd9e3bb5a5e1cc50a3519.zip
enable document for Kernel.open.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6146 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-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 e1b8783f9..b41fcb402 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) &&