vendor/bundle/ruby/2.5.0/gems/rake-13.0.1/lib/rake/file_list.rb
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
# 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 )
#
Add file names defined by glob patterns to the file list.  If an array
is given, add each element of the array.


Add file names defined by glob patterns to the file list . If an array is given add each element of the array .
def include(*filenames)
      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 ) 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
Add file names defined by glob patterns to the file list.
Add file names defined by glob patterns to the file list .
# TODO: check for pending
filenames