Flowdock
method

find_runnable

Importance_0
v1_9_3_392 - Show latest stable - 0 notes - Class: AltSystem
find_runnable(file) public

No documentation

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

Hide source
# File lib/rake/alt_system.rb, line 71
    def find_runnable(file)
      if file =~ RUNNABLE_PATTERN
        file
      else
        RUNNABLE_EXTS.each { |ext|
          if File.exist?(test = "#{file}.#{ext}")
            return test
          end
        }
        nil
      end
    end
Register or log in to add new notes.