method
find_runnable
v2_2_9 -
Show latest stable
- Class:
Rake::AltSystem
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