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

ruby-changes:12516

From: nobu <ko1@a...>
Date: Tue, 21 Jul 2009 16:08:19 +0900 (JST)
Subject: [ruby-changes:12516] Ruby:r24219 (trunk): * lib/tracer.rb: toplevel caller exists now.

nobu	2009-07-21 16:08:02 +0900 (Tue, 21 Jul 2009)

  New Revision: 24219

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

  Log:
    * lib/tracer.rb: toplevel caller exists now.  [ruby-core:24454]

  Modified files:
    trunk/ChangeLog
    trunk/lib/tracer.rb

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 24218)
+++ ChangeLog	(revision 24219)
@@ -1,3 +1,7 @@
+Tue Jul 21 16:07:57 2009  Nobuyoshi Nakada  <nobu@r...>
+
+	* lib/tracer.rb: toplevel caller exists now.  [ruby-core:24454]
+
 Tue Jul 21 13:36:20 2009  NAKAMURA Usaku  <usa@r...>
 
 	* win32/win32.[ch] (recvmsg, sendmsg): new functions to support recvmsg/
Index: lib/tracer.rb
===================================================================
--- lib/tracer.rb	(revision 24218)
+++ lib/tracer.rb	(revision 24219)
@@ -161,6 +161,6 @@
   ARGV.shift
   Tracer.on
   require $0
-elsif caller(0).size == 1
+elsif caller.size == 1
   Tracer.on
 end

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

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