xenon-routing/lib/xenon/api.rb
def build(app)
        builder = Rack::Builder.new
        builder.use Rack::Head
        middleware.each { |mw, a, b| builder.use(mw, *a, &b) }
        builder.run app
        builder
      end
# Creates a Rack::Builder instance with all the middleware set up and
# the given +app+ as end point.
Creates a Rack::Builder instance with all the middleware set up and
the given +app+ as end point.
Creates a Rack :: Builder instance with all the middleware set up and the given + app + as end point .
def build(app)
        builder = Rack::Builder.new
        builder.use Rack::Head
        middleware.each { |mw, a, b| builder.use(mw, *a, &b) }
        builder.run app
        builder
      end
def build ( app ) builder = Rack :: Builder . new builder . use Rack :: Head middleware . each { | mw , a , b | builder . use ( mw , * a , & b ) } builder . run app builder end
Creates a Rack::Builder instance with all the middleware set up and
the given +app+ as end point.
Creates a Rack :: Builder instance with all the middleware set up and the given + app + as end point .
app