mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Fix method redefined warning in open-uri.rb. [ruby-core:14304].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14521 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
03a1e25542
commit
5d592124f5
2 changed files with 7 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
Sun Dec 23 19:33:42 2007 Eric Hodel <drbrain@segment7.net>
|
||||||
|
|
||||||
|
* lib/open-uri.rb: Fix method redefined warning. [ruby-core:14304]
|
||||||
|
|
||||||
Sun Dec 23 18:31:49 2007 NARUSE, Yui <naruse@ruby-lang.org>
|
Sun Dec 23 18:31:49 2007 NARUSE, Yui <naruse@ruby-lang.org>
|
||||||
|
|
||||||
* ext/nkf/nkf.c (rb_nkf_enc_get): use rb_define_dummy_encoding.
|
* ext/nkf/nkf.c (rb_nkf_enc_get): use rb_define_dummy_encoding.
|
||||||
|
|
|
@ -5,6 +5,9 @@ require 'time'
|
||||||
module Kernel
|
module Kernel
|
||||||
private
|
private
|
||||||
alias open_uri_original_open open # :nodoc:
|
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.
|
# makes possible to open various resources including URIs.
|
||||||
# If the first argument respond to `open' method,
|
# If the first argument respond to `open' method,
|
||||||
|
|
Loading…
Reference in a new issue