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
_______________________________________________
Rake-devel mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rake-devel

Reply via email to