method

new

ruby latest stable - Class: Test::Unit::Collector::Dir

Method deprecated or moved

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

new(dir=::Dir, file=::File, object_space=::ObjectSpace, req=nil)
public

No documentation available.

# File lib/test/unit/collector/dir.rb, line 13
        def initialize(dir=::Dir, file=::File, object_space=::ObjectSpace, req=nil)
          super()
          @dir = dir
          @file = file
          @object_space = object_space
          @req = req
          @pattern = [/\btest_.*\.rb\Z/m]
          @exclude = []
        end