class Bootsnap::CLI

def precompile_ruby_files(load_paths, exclude: self.exclude)

def precompile_ruby_files(load_paths, exclude: self.exclude)
  return unless iseq
  load_paths.each do |path|
    if !exclude || !exclude.match?(path)
      list_files(path, "**/{*.rb,*.rake,Rakefile}").each do |ruby_file|
        if !exclude || !exclude.match?(ruby_file)
          @work_pool.push(:ruby, ruby_file)
        end
      end
    end
  end
end