def build
      adapter = @proxies.first
      if Array === adapter
        klass, options, block = adapter
        adapter = new_proxy(klass, options, &block)
        check_arity(klass, adapter, 1)
      end
      @proxies[1..-1].inject([adapter]) do |result, proxy|
        klass, options, block = proxy
        proxy = new_proxy(klass, result.last, options, &block)
        check_arity(klass, proxy, 2)
        result << proxy
      end
    end
def build
      adapter = @proxies.first
      if Array === adapter
        klass, options, block = adapter
        adapter = new_proxy(klass, options, &block)
        check_arity(klass, adapter, 1)
      end
      @proxies[1..-1].inject([adapter]) do |result, proxy|
        klass, options, block = proxy
        proxy = new_proxy(klass, result.last, options, &block)
        check_arity(klass, proxy, 2)
        result << proxy
      end
    end
@yieldparam Builder dsl code block
 Build proxy stack

 @return [Object] Generated Moneta proxy stack
 @api public