Class: Rack::PerftoolsProfiler::CallAppDirectly

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

Instance Method Summary collapse

Methods inherited from Action

for_env, #initialize

Constructor Details

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

Instance Method Details

#actObject



5
6
7
# File 'lib/rack/perftools_profiler/call_app_directly.rb', line 5

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

#responseObject



9
10
11
# File 'lib/rack/perftools_profiler/call_app_directly.rb', line 9

def response
  @result
end