Sha256: d433bed8c90f753501c87c06b5b3efbd7ae8c5ae4756b8d0ceb4d8ad021140bd

Contents?: true

Size: 167 Bytes

Versions: 21

Compression:

Stored size: 167 Bytes

Contents

# frozen_string_literal: true

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

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

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
memolog-0.5.6 lib/memolog/rails_middleware.rb
memolog-0.5.5 lib/memolog/rails_middleware.rb
memolog-0.5.4 lib/memolog/rails_middleware.rb
memolog-0.5.3 lib/memolog/rails_middleware.rb
memolog-0.5.2 lib/memolog/rails_middleware.rb
memolog-0.5.1 lib/memolog/rails_middleware.rb
memolog-0.5.0 lib/memolog/rails_middleware.rb
memolog-0.4.9 lib/memolog/rails_middleware.rb
memolog-0.4.8 lib/memolog/rails_middleware.rb
memolog-0.4.7 lib/memolog/rails_middleware.rb
memolog-0.4.6 lib/memolog/rails_middleware.rb
memolog-0.4.5 lib/memolog/rails_middleware.rb
memolog-0.4.4 lib/memolog/rails_middleware.rb
memolog-0.4.2 lib/memolog/rails_middleware.rb
memolog-0.4.1 lib/memolog/rails_middleware.rb
memolog-0.4.0 lib/memolog/rails_middleware.rb
memolog-0.3.5 lib/memolog/rails_middleware.rb
memolog-0.3.4 lib/memolog/rails_middleware.rb
memolog-0.3.3 lib/memolog/rails_middleware.rb
memolog-0.3.2 lib/memolog/rails_middleware.rb