Sha256: fa9a7df7590248b16551bc1dcd3ba2241d4ac12017ad9bf4c79d85b0b7672810
Contents?: true
Size: 304 Bytes
Versions: 1
Compression:
Stored size: 304 Bytes
Contents
module Walle module Middlewares module Helper def use(middleware, *args) @middlewares ||= Builder.new @middlewares.use(middleware, *args) end private def run_middlewares(env, &block) @middlewares.to_app(block).call(env) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
walle-0.1.0 | lib/walle/middlewares/helper.rb |