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 | 04cb75015fe665a27147eeed6ef3c3e98c78df26 (patch) | |
| tree | 394bf822cc57b85fd1695e249898fdf890b6dfa3 | |
| parent | bbb9e1e7ce8e2493917716fd157de059f7a915ca (diff) | |
| download | ruby-04cb75015fe665a27147eeed6ef3c3e98c78df26.tar.gz ruby-04cb75015fe665a27147eeed6ef3c3e98c78df26.tar.xz ruby-04cb75015fe665a27147eeed6ef3c3e98c78df26.zip | |
enable document for Kernel.open.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6146 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
| -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 feb56d041..9523a1745 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) && |
