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

RDoc for #run= and #run?

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10675 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
drbrain 2006-08-04 21:00:31 +00:00
parent e2c017a8ce
commit 8bd9d238b7

View file

@ -261,10 +261,12 @@ module Test # :nodoc:
#
module Unit
# If set to false Test::Unit will not automatically run at exit.
def self.run=(flag)
@run = flag
end
# Automatically run tests at exit?
def self.run?
@run ||= false
end