Sha256: 2ee140f183594abf2d3a2c043989e15efc98f93e3ebc39a48f03749b8f80a369

Contents?: true

Size: 189 Bytes

Versions: 2

Compression:

Stored size: 189 Bytes

Contents

module Rack::ActionLogger
  class Context

    def initialize(app)
      @app = app
    end

    def call(env)
      Emitter.new.emit do
        @app.call(env)
      end
    end

  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rack-action_logger-0.1.1 lib/rack/action_logger/context.rb
rack-action_logger-0.1.0 lib/rack/action_logger/context.rb