Top Level Namespace

Defined Under Namespace

Modules: Test

Instance Method Summary collapse

Instance Method Details

#runObject

experimental. It is for “ruby -rtest-unit -e run test/test_*.rb”. Is this API OK or dirty?



29
30
31
32
# File 'lib/test-unit.rb', line 29

def run
  self.class.send(:undef_method, :run)
  require "test/unit"
end