[Rake-devel] have_rakefile() in 0.8.2
lacton
lacton at users.sourceforge.net
Fri Sep 19 15:46:39 EDT 2008
At http://rake.rubyforge.org/classes/Rake/Application.html#M000081
I read "have_rakefile() True if one of the files in RAKEFILES is in
the current directory. If a match is found, it is copied into
@rakefile."
Yet, the attached source does not mention the @rakefile attribute.
# File lib/rake.rb, line 2072
def have_rakefile
@rakefiles.each do |fn|
if File.exist?(fn) || fn == ''
return fn
end
end
return nil
end
Is the method broken or is it the documentation?
Regards.
Lacton
More information about the Rake-devel
mailing list