summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorshyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-12-14 05:08:45 +0000
committershyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-12-14 05:08:45 +0000
commitbcde0b6d80a0acb5866bc1f3303403f600535d66 (patch)
tree1df7011ffaac7bbf272943b7f9f13f14a9e88862 /lib
parent34bda680b75141d912b33e6a9f43b656011b3e1e (diff)
merge revision(s) 24621:
* 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_7@26096 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-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