зеркало из https://github.com/github/ruby.git
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:
Родитель
03a1e25542
Коммит
5d592124f5
|
@ -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>
|
||||
|
||||
* ext/nkf/nkf.c (rb_nkf_enc_get): use rb_define_dummy_encoding.
|
||||
|
|
|
@ -5,6 +5,9 @@ require 'time'
|
|||
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,
|
||||
|
|
Загрузка…
Ссылка в новой задаче