mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/open-uri.rb: remove debug code introduced by previous change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19688 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
f09149cab5
commit
a64f397403
2 changed files with 4 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
Sun Oct 5 18:51:50 2008 Tanaka Akira <akr@fsij.org>
|
||||
|
||||
* lib/open-uri.rb: remove debug code introduced by previous change.
|
||||
|
||||
Sun Oct 5 17:49:35 2008 NARUSE, Yui <naruse@ruby-lang.org>
|
||||
|
||||
* lib/open-uri.rb (OpenURI.open_uri): set encoding to strio.
|
||||
|
|
|
@ -145,7 +145,6 @@ module OpenURI
|
|||
|
||||
io = open_loop(uri, options)
|
||||
io.set_encoding(encoding) if encoding
|
||||
p [encoding, io.external_encoding]
|
||||
if block_given?
|
||||
begin
|
||||
yield io
|
||||
|
|
Loading…
Add table
Reference in a new issue