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

module StrongVersions
  class Config
    def initialize(path)
      @config = YAML.load_file(path) if File.exist?(path)

      validate_on_failure
    
    def validate_on_failure
      expected = %w[warn raise]
      strategy = on_failure
      return strategy if expected.include?(strategy)

      raise Bundler::BundlerError,
            I18n.t(
              'strong_versions.errors.unknown_on_failure',
              on_failure: strategy, expected: expected
            )
    end