class Mamiya::Master::AppBridge

Public Class Methods

new(app, log, this) click to toggle source
# File lib/mamiya/master.rb, line 112
def initialize(app, log, this)
  @app, @logger, @this = app, log['web'], this
end

Public Instance Methods

call(env) click to toggle source
# File lib/mamiya/master.rb, line 116
def call(env)
  env['rack.logger'] = @logger
  env['mamiya.master'] = @this
  @app.call(env)
end