# File lib/rake/application.rb, line 208 208: def have_rakefile 209: @rakefiles.each do |fn| 210: if File.exist?(fn) 211: others = FileList.glob(fn, File::FNM_CASEFOLD) 212: return others.size == 1 ? others.first : fn 213: elsif fn == '' 214: return fn 215: end 216: end 217: return nil 218: end