diff options
author | shugo <shugo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-01-10 17:13:09 +0000 |
---|---|---|
committer | shugo <shugo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-01-10 17:13:09 +0000 |
commit | a29c648d9c4da94b95434957db417acc3f23a11a (patch) | |
tree | efbf31369fd477313bc08425fcb05fd36202f2c9 | |
parent | 5849920066ad295cd416c5b4782e795329a666fd (diff) |
* 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
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | lib/rbconfig/obsolete.rb | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,8 @@ +Fri Jan 11 02:11:59 2013 Shugo Maeda <shugo@ruby-lang.org> + + * 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 <ko1@atdot.net> * 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 |