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

ruby-changes:26993

From: zzak <ko1@a...>
Date: Tue, 5 Feb 2013 03:06:54 +0900 (JST)
Subject: [ruby-changes:26993] zzak:r39044 (trunk): * lib/tracer.rb: Move class overview definition and reformat

zzak	2013-02-05 02:59:52 +0900 (Tue, 05 Feb 2013)

  New Revision: 39044

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

  Log:
    * lib/tracer.rb: Move class overview definition and reformat

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

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 39043)
+++ ChangeLog	(revision 39044)
@@ -1,3 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Tue Feb  5 03:00:00 2013  Zachary Scott  <zachary@z...>
+
+	* lib/tracer.rb: Move class overview definition and reformat
+
 Mon Feb  4 15:10:10 2013  Nobuyoshi Nakada  <nobu@r...>
 
 	* ext/io/console/console.c (rawmode_opt): initialize options for the
Index: lib/tracer.rb
===================================================================
--- lib/tracer.rb	(revision 39043)
+++ lib/tracer.rb	(revision 39044)
@@ -1,10 +1,14 @@ https://github.com/ruby/ruby/blob/trunk/lib/tracer.rb#L1
+#--
+# $Release Version: 0.3$
+# $Revision: 1.12 $
+require "thread"
+
 ##
-# = Tracer
+# Outputs a source level execution trace of a Ruby program.
 #
-# Tracer outputs a source level execution trace of a Ruby program. It does
-# this by registering an event handler with <code>Kernel#set_trace_func</code>
-# for processing incoming events.  It also provides methods for filtering
-# unwanted trace output (see Tracer.add_filter, Tracer.on, and Tracer.off).
+# It does this by registering an event handler with Kernel#set_trace_func for
+# processing incoming events.  It also provides methods for filtering unwanted
+# trace output (see Tracer.add_filter, Tracer.on, and Tracer.off).
 #
 # == Example
 #
@@ -42,27 +46,19 @@ https://github.com/ruby/ruby/blob/trunk/lib/tracer.rb#L46
 #
 # Symbol table used for displaying incoming events:
 #
-# <tt>}</tt>:: call a C-language routine
-# <tt>{</tt>:: return from a C-language routine
-# <tt>></tt>:: call a Ruby method
-# <tt>C</tt>:: start a class or module definition
-# <tt>E</tt>:: finish a class or module definition
-# <tt>-</tt>:: execute code on a new line
-# <tt>^</tt>:: raise an exception
-# <tt><</tt>:: return from a Ruby method
+# +}+:: call a C-language routine
+# +{+:: return from a C-language routine
+# +>+:: call a Ruby method
+# +C+:: start a class or module definition
+# +E+:: finish a class or module definition
+# +-+:: execute code on a new line
+# +^+:: raise an exception
+# +<+:: return from a Ruby method
 #
 # == Copyright
 #
 # by Keiju ISHITSUKA(keiju@i...)
 #
-#--
-# $Release Version: 0.3$
-# $Revision: 1.12 $
-require "thread"
-
-#
-# tracer main class
-#
 class Tracer
   class << self
     # display additional debug information (defaults to false)

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

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