def find(path)
      results = []
      Find.find(path) do |fpath|
        if FileTest.directory?(fpath)
          next unless ignores

          ignores.each do |ignore|
            next unless fpath.include?(ignore.realpath.to_s)

            puts "Ignoring Directory: #{fpath}" if options[:verbose]
            Find.prune
          end
        end
        results << fpath if yield fpath
      end
      results
    end
def find(path)
      results = []
      Find.find(path) do |fpath|
        if FileTest.directory?(fpath)
          next unless ignores

          ignores.each do |ignore|
            next unless fpath.include?(ignore.realpath.to_s)

            puts "Ignoring Directory: #{fpath}" if options[:verbose]
            Find.prune
          end
        end
        results << fpath if yield fpath
      end
      results
    end
Find all files for which the block yields.