diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-04-12 10:17:46 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-04-12 10:17:46 +0000 |
commit | 15d2b80c8a8495c996561e9fd68cae5dfdddde16 (patch) | |
tree | 62ba0d0f78ac9724c90f2380bc233b64dd4b51ac /lib/open-uri.rb | |
parent | 795405fe3a982d8d42039065b6f000b2162f1cf6 (diff) | |
download | ruby-15d2b80c8a8495c996561e9fd68cae5dfdddde16.tar.gz |
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/open-uri.rb')
-rw-r--r-- | lib/open-uri.rb | 2 |
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) && |