[前][次][番号順一覧][スレッド一覧][生データ]

yarv-diff:317

From: ko1 atdot.net
Date: 8 Mar 2006 01:32:31 -0000
Subject: [yarv-diff:317] r482 - in trunk: . lib

Author: aamine
Date: 2006-03-08 10:32:31 +0900 (Wed, 08 Mar 2006)
New Revision: 482

Modified:
   trunk/ChangeLog
   trunk/lib/delegate.rb
Log:
* lib/delegate.rb (DelegateClass): do not delegate #send and #funcall.


Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog	2006-02-27 13:40:07 UTC (rev 481)
+++ trunk/ChangeLog	2006-03-08 01:32:31 UTC (rev 482)
@@ -4,6 +4,12 @@
 #  from Mon, 03 May 2004 01:24:19 +0900
 #
 
+2006-03-08(Wed) 10:31:29 +0900  Minero Aoki  <aamine loveruby.net>
+
+	* lib/delegate.rb (DelegateClass): do not delegate #send and
+	  #funcall.
+
+
 2006-02-27(Mon) 22:39:17 +0900  Minero Aoki  <aamine loveruby.net>
 
 	* lib/thread.rb: last commit causes busy loop, revert it. [yarv-dev:990]

Modified: trunk/lib/delegate.rb
===================================================================
--- trunk/lib/delegate.rb	2006-02-27 13:40:07 UTC (rev 481)
+++ trunk/lib/delegate.rb	2006-03-08 01:32:31 UTC (rev 482)
@@ -262,6 +262,7 @@
   klass = Class.new
   methods = superclass.public_instance_methods(true)
   methods -= [
+    "send", "funcall",
     "__id__", "object_id", "__send__", "respond_to?", "==", "equal?",
     "initialize", "method_missing", "__getobj__", "__setobj__",
     "clone", "dup", "marshal_dump", "marshal_load",


-- 
ML: yarv-diff quickml.atdot.net
Info: http://www.atdot.net/~ko1/quickml

[前][次][番号順一覧][スレッド一覧][生データ]