parse_dot_doc_file(in_dir, filename)
public
The .document file contains a list
of file and directory name patterns, representing candidates for
documentation. It may also contain comments (starting with ‘#’)
Show source
def parse_dot_doc_file in_dir, filename
patterns = File.read(filename).gsub(/#.*/, '')
result = []
patterns.split.each do |patt|
candidates = Dir.glob(File.join(in_dir, patt))
result.concat normalized_file_list(candidates)
end
result
end