summaryrefslogtreecommitdiff
path: root/lib/test
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-08-22 03:08:50 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-08-22 03:08:50 +0000
commitb3efcdcb7a48f46a71bc2648bfdd15dbe5f65cf4 (patch)
treee5f2e0e75687d5f45dad1f36c734af8286429564 /lib/test
parentfafa31919d9e2412fc2a0419108068a2f6d37d0e (diff)
* lib/test/unit.rb (Test::Unit.run=, Test::Unit.run?): fixed rdoc.
[ruby-core:25034] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@24621 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/test')
-rw-r--r--lib/test/unit.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/test/unit.rb b/lib/test/unit.rb
index ca68424b30..fdf786be18 100644
--- a/lib/test/unit.rb
+++ b/lib/test/unit.rb
@@ -261,12 +261,13 @@ module Test # :nodoc:
#
module Unit
- # If set to false Test::Unit will not automatically run at exit.
+ # Set true when Test::Unit has run. If set to true Test::Unit
+ # will not automatically run at exit.
def self.run=(flag)
@run = flag
end
- # Automatically run tests at exit?
+ # Already tests have run?
def self.run?
@run ||= false
end