Sha256: 30f99de5865cdb2cde89e95d771175ef3f0b2367231a66608ddc5be22df39a88

Contents?: true

Size: 303 Bytes

Versions: 5

Compression:

Stored size: 303 Bytes

Contents

# encoding: UTF-8

module Spontaneous
  module Rack
    class AroundBack
      def initialize(app)
        @app = app
      end


      def call(env)
        response = nil
        Content.with_identity_map do
          response = @app.call(env)
        end
        response
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
spontaneous-0.2.0.alpha7 lib/spontaneous/rack/around_back.rb
spontaneous-0.2.0.alpha6 lib/spontaneous/rack/around_back.rb
spontaneous-0.2.0.alpha5 lib/spontaneous/rack/around_back.rb
spontaneous-0.2.0.alpha4 lib/spontaneous/rack/around_back.rb
spontaneous-0.2.0.alpha3 lib/spontaneous/rack/around_back.rb