class Rake::FileList

def include(*filenames)


file_list.include %w( math.c lib.h *.o )
file_list.include("*.java", "*.cfg")
Example:

is given, add each element of the array.
Add file names defined by glob patterns to the file list. If an array
def include(*filenames)
  # TODO: check for pending
  filenames.each do |fn|
    if fn.respond_to? :to_ary
      include(*fn.to_ary)
    else
      @pending_add << fn
    end
  end
  @pending = true
  self
end