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: finished.rb
    path of file: ./repos/ArchiveBot/dashboard/resources
    
    the code of the file until where you have to start completion: require 'addressable/u
    
  def get_all_job_ids
    # Returns all jobs in Redis; this includes queued and currently running ones
    jobs = Set.new # Redis's SCAN may return keys multiple time, so use a set to dedupe
    # Because the main job data lies in a key of just the job ID, it's not (easily) possible to SCAN them.
    # So instead, abuse the ignore_patterns_set_key entries and extract the job ID from those.
    # (The log_key entries only exist for currently running jobs.)
    self.class.redis.scan_each(:match => "*_ignores") { |key| jobs.add(key[0..-9]) }
    jobs.to_a
  end