def enable_adapter(name:, variables: nil)
      _key, klass = available_adapters.find { |key, _klass| key.to_sym == name.to_sym }

      raise Knowledge::AdapterNotFound, "Cannot find \"#{name}\" in available adapters" if klass.nil?

      @enabled_adapters[name.to_sym] = klass
      set_adapter_variables(name: name, variables: variables)
    end
def enable_adapter(name:, variables: nil)
      _key, klass = available_adapters.find { |key, _klass| key.to_sym == name.to_sym }

      raise Knowledge::AdapterNotFound, "Cannot find \"#{name}\" in available adapters" if klass.nil?

      @enabled_adapters[name.to_sym] = klass
      set_adapter_variables(name: name, variables: variables)
    end
Enables an adapter.

 === Usage

 @example:
   learner = Knowledge::Learner.new

   # Register your adapter
   learner.register_adapter(name: :my_adapter, klass: MyAdapter)

   # Now you can enable it
   learner.enable_adapter(name: :my_adapter)

 === Errors

 @raises [Knowledge::AdapterNotFound] if adapter is not available

 === Parameters

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