method

find_dir

ruby latest stable - Class: Rake::TestTask

Method deprecated or moved

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

find_dir(fn)
public

No documentation available.

# File lib/rake/testtask.rb, line 203
    def find_dir(fn) # :nodoc:
      $LOAD_PATH.each do |path|
        file_path = File.join(path, "#{fn}.rb")
        return path if File.exist? file_path
      end
      nil
    end