method

find_runnable

ruby latest stable - Class: Rake::AltSystem

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_runnable(file)
public

No documentation available.

# File lib/rake/alt_system.rb, line 73
    def find_runnable(file)
      if file =~ RUNNABLE_PATTERN
        file
      else
        RUNNABLE_EXTS.each { |ext|
          test = "#{file}.#{ext}"
          return test if File.exist?(test)
        }
        nil
      end
    end