summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authordrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-08-04 21:00:31 +0000
committerdrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-08-04 21:00:31 +0000
commit2d360620216e8c2d650b93a090cc977c34649e55 (patch)
tree213b639305442b8ef48499b7f69a3396dff086ff /lib
parent47992112023489e35951d072cb80b2de6f676459 (diff)
downloadruby-2d360620216e8c2d650b93a090cc977c34649e55.tar.gz
ruby-2d360620216e8c2d650b93a090cc977c34649e55.tar.xz
ruby-2d360620216e8c2d650b93a090cc977c34649e55.zip
RDoc for #run= and #run?
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10675 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r--lib/test/unit.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/test/unit.rb b/lib/test/unit.rb
index 7c1e2c064..b71f64456 100644
--- a/lib/test/unit.rb
+++ b/lib/test/unit.rb
@@ -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