Class: Rack::AllocationStats::CallAppDirectly

Inherits:
Action
  • Object
show all
Defined in:
lib/rack/allocation_stats/call_app_directly.rb

Instance Method Summary collapse

Methods inherited from Action

#initialize

Constructor Details

This class inherits a constructor from Rack::AllocationStats::Action

Instance Method Details

#actObject



6
7
8
# File 'lib/rack/allocation_stats/call_app_directly.rb', line 6

def act
  @result = @middleware.call_app(@env)
end

#responseObject



10
11
12
# File 'lib/rack/allocation_stats/call_app_directly.rb', line 10

def response
  @result
end