method
find_runnable
v1_9_3_125 -
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|
if File.exist?(test = "#{file}.#{ext}")
return test
end
}
nil
end
end