Methods
H
R
Class Public methods
have_run?()
# File ../ruby/lib/test/unit.rb, line 15
def self.have_run?
  @@run_count.nonzero?
end
run_once()
# File ../ruby/lib/test/unit.rb, line 24
def run_once
  return if have_run?
  return if $! # don't run if there was an exception
  yield
end
Instance Public methods
run(*)
# File ../ruby/lib/test/unit.rb, line 19
def run(*)
  @@run_count += 1
  super
end
Instance Private methods
run_once()
# File ../ruby/lib/test/unit.rb, line 24
def run_once
  return if have_run?
  return if $! # don't run if there was an exception
  yield
end