def glob(*globs)
      files.find_all do |path|
        globs.any? { |pattern| File.fnmatch(pattern, path, File::FNM_EXTGLOB) }
      end
    end
def glob(*globs)
      files.find_all do |path|
        globs.any? { |pattern| File.fnmatch(pattern, path, File::FNM_EXTGLOB) }
      end
    end
Public: Get a list of the files in the project tree that match any of the
 given globs, with any files ignored by Git, SVN or some other VCS
 removed from the list.

 Returns an Array of Strings where the strings are paths within the
 project that matched.