def include(*filenames)
      # TODO: check for pending
      filenames.each do |fn|
        if fn.respond_to? :to_ary
          include(*fn.to_ary)
        else
          @pending_add << Rake.from_pathname(fn)
        end
      end
      @pending = true
      self
    end
def include(*filenames)
      # TODO: check for pending
      filenames.each do |fn|
        if fn.respond_to? :to_ary
          include(*fn.to_ary)
        else
          @pending_add << Rake.from_pathname(fn)
        end
      end
      @pending = true
      self
    end
Create a file list from the globbable patterns given.  If you wish to
 perform multiple includes or excludes at object build time, use the
 "yield self" pattern.

 Example:
   file_list = FileList.new('lib/**/*.rb', 'test/test*.rb')

   pkg_files = FileList.new('lib/**/*') do |fl|
     fl.exclude(/\bCVS\b/)
   end

 Add file names defined by glob patterns to the file list.  If an array
 is given, add each element of the array.

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