You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: sidekiq.rb
    path of file: ./repos/chewy/lib/chewy/strategy
    
    the code of the file until where you have to start completion: module Chewy
  class Strategy
    # The strategy works the same way as atomic, bu
    
      def leave
        @stash.each do |type, ids|
          next if ids.empty?

          ::Sidekiq::Client.push(
            'queue' => sidekiq_queue,
            'class' => Chewy::Strategy::Sidekiq::Worker,
            'args'  => [type.name, ids]
          )
        end
      end