def set_adapter_variables_by_hash(name:, variables:)
      variables = variables[name.to_s] if variables.key?(name.to_s)
      variables = variables[name.to_sym] if variables.key?(name.to_sym)
      @variables[name.to_sym] = variables
    end
def set_adapter_variables_by_hash(name:, variables:)
      variables = variables[name.to_s] if variables.key?(name.to_s)
      variables = variables[name.to_sym] if variables.key?(name.to_sym)
      @variables[name.to_sym] = variables
    end
Sets variables as a hash for a given adapter.

 === Usage

 @example
   learner = Knowledge::Learner.new

   learner.set_adapter_variables_by_hash(name: :default, variables: { foo: :bar })

 === Parameters

 @param :name [String | Symbol]
 @param :variables [Hash]