From a29c648d9c4da94b95434957db417acc3f23a11a Mon Sep 17 00:00:00 2001 From: shugo Date: Thu, 10 Jan 2013 17:13:09 +0000 Subject: [PATCH] * lib/rbconfig/obsolete.rb (respond_to_missing?): use send because RbConfig.respond_to_missing? is now private. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38769 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 5 +++++ lib/rbconfig/obsolete.rb | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 150fd71f39..e25ca3a285 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Fri Jan 11 02:11:59 2013 Shugo Maeda + + * lib/rbconfig/obsolete.rb (respond_to_missing?): use send because + RbConfig.respond_to_missing? is now private. + Thu Jan 10 22:00:58 2013 Koichi Sasada * vm_core.h (VM_DEBUG_BP_CHECK): set 0 as default. diff --git a/lib/rbconfig/obsolete.rb b/lib/rbconfig/obsolete.rb index 8669186083..7025fb43fb 100644 --- a/lib/rbconfig/obsolete.rb +++ b/lib/rbconfig/obsolete.rb @@ -24,7 +24,7 @@ module ::RbConfig def respond_to_missing?(*args, &block) _warn_ - ::RbConfig.respond_to_missing?(*args, &block) + ::RbConfig.send(:respond_to_missing?, *args, &block) end end end