# 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
This page was generated for Ruby 2.0.0
Ruby-doc.org is a service of James Britt and Neurogami, an application development company in Scottsdale, AZ.
Generated with Ruby-doc Rdoc Generator 0.26.0.