method

find_runnable

v2_1_10 - Show latest stable - Class: Rake::AltSystem
find_runnable(file)
public

No documentation available.

# File lib/rake/alt_system.rb, line 71
    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