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: base_lock.rb
    path of file: ./repos/cloudtasker/lib/cloudtasker/unique_job/lock
    
    the code of the file until where you have to start completion: # frozen_string_literal: true

module Cloudtasker
  module UniqueJob
    module Lock
      # Base behaviour for locks
      class B
    
        def conflict_instance
          @conflict_instance ||=
            begin
              # Infer lock class and get instance
              strategy_name = options[:on_conflict]
              strategy_klass = ConflictStrategy.const_get(strategy_name.to_s.split('_').collect(&:capitalize).join)
              strategy_klass.new(job)
            rescue NameError
              default_conflict_strategy.new(job)
            end