enable document for Kernel.open.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6146 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
akr 2004-04-12 10:17:46 +00:00
Родитель 795405fe3a
Коммит 15d2b80c8a
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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) &&