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

ruby-changes:26967

From: zzak <ko1@a...>
Date: Sat, 2 Feb 2013 14:06:10 +0900 (JST)
Subject: [ruby-changes:26967] zzak:r39019 (trunk): * lib/debug.rb: Documentation for DEBUGGER__ class methods based on

zzak	2013-02-02 14:04:54 +0900 (Sat, 02 Feb 2013)

  New Revision: 39019

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

  Log:
    * lib/debug.rb: Documentation for DEBUGGER__ class methods based on
      patch by Vincent Batts [ruby-core:51253]

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

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 39018)
+++ ChangeLog	(revision 39019)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Sat Feb  2 14:05:00 2013  Zachary Scott  <zachary@z...>
+
+	* lib/debug.rb: Documentation for DEBUGGER__ class methods based on
+	  patch by Vincent Batts [ruby-core:51253]
+
 Sat Feb  2 13:37:00 2013  Zachary Scott  <zachary@z...>
 
 	* lib/net/smtp.rb: Fix rdoc title for Net::SMTP
Index: lib/debug.rb
===================================================================
--- lib/debug.rb	(revision 39018)
+++ lib/debug.rb	(revision 39019)
@@ -891,22 +891,34 @@ EOHELP https://github.com/ruby/ruby/blob/trunk/lib/debug.rb#L891
   @stdout = STDOUT
 
   class << DEBUGGER__
+    # Returns the IO used as stdout. Defaults to STDOUT
     def stdout
       @stdout
     end
 
+    # Sets the IO used as stdout. Defaults to STDOUT
     def stdout=(s)
       @stdout = s
     end
 
+    # Returns the display expression list
+    #
+    # See DEBUGGER__ for more usage
     def display
       @display
     end
 
+    # Returns the list of break points where execution will be stopped.
+    #
+    # See DEBUGGER__ for more useage
     def break_points
       @break_points
     end
 
+    # Returns the list of waiting threads.
+    #
+    # When stepping through the traces of a function, thread gets suspended, to
+    # be resumed later.
     def waiting
       @waiting
     end

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

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