method
find_rakefile_location
v1_9_3_125 -
Show latest stable
- Class:
Rake::Application
find_rakefile_location()public
No documentation available.
# File lib/rake/application.rb, line 466
def find_rakefile_location
here = Dir.pwd
while ! (fn = have_rakefile)
Dir.chdir("..")
if Dir.pwd == here || options.nosearch
return nil
end
here = Dir.pwd
end
[fn, here]
ensure
Dir.chdir(Rake.original_dir)
end