# File utils.rb, line 376 def findRdocableFiles( catalogFile="docs/CATALOG" ) startlist = [] if File.exists? catalogFile message "Using CATALOG file (%s).\n" % catalogFile startlist = getVettedManifest( catalogFile ) else message "Using default MANIFEST\n" startlist = getVettedManifest() end message "Looking for RDoc comments in:\n" if $VERBOSE startlist.select {|fn| message " #{fn}: " if $VERBOSE found = false File::open( fn, "r" ) {|fh| fh.each {|line| if line =~ /^(\s*#)?\s*=/ || line =~ /:\w+:/ || line =~ %{/\*} found = true break end } } message( (found ? "yes" : "no") + "\n" ) if $VERBOSE found } end