Maintenance of Ruby 2.0.0 ended on February 24, 2016. Read more
# File test/unit.rb, line 15 def self.have_run? @@run_count.nonzero? end
# File test/unit.rb, line 24 def run_once return if have_run? return if $! # don't run if there was an exception yield end
# File test/unit.rb, line 19 def run(*) @@run_count += 1 super end