class Middleware::Builder

This provides a DSL for building up a stack of middlewares.

This code is based heavily off of ‘Rack::Builder` and `ActionDispatch::MiddlewareStack` in Rack and Rails, respectively.

# Usage

Building a middleware stack is very easy:

app = Middleware::Builder.new do
  use A
  use B
end

# Call the middleware
app.call(7)