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:
parent
e2c017a8ce
commit
8bd9d238b7
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue