def search_in_folder(unuse)
         puts @search_in_folder
         Find.find(@search_in) do |filename|
            if File.file?(filename)   #如果是文件，则从文件中查找，忽略文件夹
               search_in_file(filename)
            end
         end
      end
def search_in_folder(unuse)
         puts @search_in_folder
         Find.find(@search_in) do |filename|
            if File.file?(filename)   #如果是文件，则从文件中查找，忽略文件夹
               search_in_file(filename)
            end
         end
      end
从文件夹查找