ruby-changes:3029
From: ko1@a...
Date: 23 Dec 2007 19:36:29 +0900
Subject: [ruby-changes:3029] drbrain - Ruby:r14521 (trunk): Fix method redefined warning in open-uri.rb. .
drbrain 2007-12-23 19:35:58 +0900 (Sun, 23 Dec 2007) New Revision: 14521 Modified files: trunk/ChangeLog trunk/lib/open-uri.rb Log: Fix method redefined warning in open-uri.rb. [ruby-core:14304]. http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ChangeLog?r1=14521&r2=14520 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/lib/open-uri.rb?r1=14521&r2=14520 Index: ChangeLog =================================================================== --- ChangeLog (revision 14520) +++ ChangeLog (revision 14521) @@ -1,3 +1,7 @@ +Sun Dec 23 19:33:42 2007 Eric Hodel <drbrain@s...> + + * lib/open-uri.rb: Fix method redefined warning. [ruby-core:14304] + Sun Dec 23 18:31:49 2007 NARUSE, Yui <naruse@r...> * ext/nkf/nkf.c (rb_nkf_enc_get): use rb_define_dummy_encoding. Index: lib/open-uri.rb =================================================================== --- lib/open-uri.rb (revision 14520) +++ lib/open-uri.rb (revision 14521) @@ -5,6 +5,9 @@ module Kernel private alias open_uri_original_open open # :nodoc: + class << self + alias open_uri_original_open open # :nodoc: + end # makes possible to open various resources including URIs. # If the first argument respond to `open' method, -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml