[前][次][番号順一覧][スレッド一覧]

ruby-changes:26718

From: shugo <ko1@a...>
Date: Fri, 11 Jan 2013 02:13:57 +0900 (JST)
Subject: [ruby-changes:26718] shugo:r38769 (trunk): * lib/rbconfig/obsolete.rb (respond_to_missing?): use send because

shugo	2013-01-11 02:13:09 +0900 (Fri, 11 Jan 2013)

  New Revision: 38769

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=38769

  Log:
    * lib/rbconfig/obsolete.rb (respond_to_missing?): use send because
      RbConfig.respond_to_missing? is now private.

  Modified files:
    trunk/ChangeLog
    trunk/lib/rbconfig/obsolete.rb

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 38768)
+++ ChangeLog	(revision 38769)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Fri Jan 11 02:11:59 2013  Shugo Maeda  <shugo@r...>
+
+	* 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@a...>
 
 	* vm_core.h (VM_DEBUG_BP_CHECK): set 0 as default.
Index: lib/rbconfig/obsolete.rb
===================================================================
--- lib/rbconfig/obsolete.rb	(revision 38768)
+++ lib/rbconfig/obsolete.rb	(revision 38769)
@@ -24,7 +24,7 @@ module ::RbConfig https://github.com/ruby/ruby/blob/trunk/lib/rbconfig/obsolete.rb#L24
 
     def respond_to_missing?(*args, &block)
       _warn_
-      ::RbConfig.respond_to_missing?(*args, &block)
+      ::RbConfig.send(:respond_to_missing?, *args, &block)
     end
   end
 end

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]