Sha256: 044efd6af54808e94b46ae817714c3ee0da5900aecb86df95c99912a91b1fb87

Contents?: true

Size: 162 Bytes

Versions: 5

Compression:

Stored size: 162 Bytes

Contents

# frozen_string_literal: true

class Memolog::Middleware
  def initialize(app)
    @app = app
  end

  def call(env)
    Memolog.run { @app.call(env) }
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
memolog-0.3.0 lib/memolog/middleware.rb
memolog-0.2.2 lib/memolog/middleware.rb
memolog-0.2.1 lib/memolog/middleware.rb
memolog-0.2.0 lib/memolog/middleware.rb
memolog-0.1.0 lib/memolog/middleware.rb