summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorshugo <shugo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-01-10 17:13:09 +0000
committershugo <shugo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-01-10 17:13:09 +0000
commita29c648d9c4da94b95434957db417acc3f23a11a (patch)
treeefbf31369fd477313bc08425fcb05fd36202f2c9
parent5849920066ad295cd416c5b4782e795329a666fd (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--ChangeLog5
-rw-r--r--lib/rbconfig/obsolete.rb2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 150fd71..e25ca3a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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 8669186..7025fb4 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