1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* lib/debug.rb: Documentation for DEBUGGER__ class methods based on

patch by Vincent Batts [ruby-core:51253]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39019 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
zzak 2013-02-02 05:04:54 +00:00
parent e91fb5eb6f
commit 32e754c8d4
2 changed files with 17 additions and 0 deletions

View file

@ -1,3 +1,8 @@
Sat Feb 2 14:05:00 2013 Zachary Scott <zachary@zacharyscott.net>
* 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@zacharyscott.net>
* lib/net/smtp.rb: Fix rdoc title for Net::SMTP

View file

@ -891,22 +891,34 @@ EOHELP
@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