method

run_once

ruby latest stable - Class: Test::Unit::RunCount

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v2_1_10) is shown here.

run_once()
private

No documentation available.

# File lib/test/unit.rb, line 30
      def run_once
        return if have_run?
        return if $! # don't run if there was an exception
        yield
      end