Sha256: 49eb988cbf2b1b0a800f61824131681230b217401739745aebfe768a765cb62b

Contents?: true

Size: 303 Bytes

Versions: 3

Compression:

Stored size: 303 Bytes

Contents

# Copyright 2013 Google Inc. All Rights Reserved.
# Licensed under the Apache License, Version 2.0, found in the LICENSE file.

module Rack::AllocationStats
  class CallAppDirectly < Action
    def act
      @result = @middleware.call_app(@env)
    end

    def response
      @result
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rack-allocation_stats-0.1.2 lib/rack/allocation_stats/call_app_directly.rb
rack-allocation_stats-0.1.1 ./lib/rack/allocation_stats/call_app_directly.rb
rack-allocation_stats-0.1.0 ./lib/rack/allocation_stats/call_app_directly.rb