Flowdock
method

collect_file

Importance_0
collect_file(name, suites, already_gathered) public

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/rake/ruby182_test_unit_fix.rb, line 10
        def collect_file(name, suites, already_gathered) # :nodoc:
          dir = File.dirname(File.expand_path(name))
          $:.unshift(dir) unless $:.first == dir
          if(@req)
            @req.require(name)
          else
            require(name)
          end
          find_test_cases(already_gathered).each{|t| add_suite(suites, t.suite)}
        ensure
          $:.delete_at $:.rindex(dir)
        end
Register or log in to add new notes.