def set(key, value = nil, &block)
      logger.warn "Warning: `set :#{key}` is deprecated. Use `config[:#{key}] =` instead."

      value = block if block_given?
      config[key] = value
    end
def set(key, value = nil, &block)
      logger.warn "Warning: `set :#{key}` is deprecated. Use `config[:#{key}] =` instead."

      value = block if block_given?
      config[key] = value
    end
Set attributes (global variables)

 @deprecated Prefer accessing settings through "config".

 @param [Symbol] key Name of the attribute
 @param value Attribute value
 @return [void]