Class: Rack::CallAppDirectly

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

Instance Method Summary collapse

Methods inherited from Action

for_env, #initialize

Constructor Details

This class inherits a constructor from Rack::Action

Instance Method Details

#actObject



365
366
367
# File 'lib/rack/contrib/perftools_profiler.rb', line 365

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

#responseObject



369
370
371
# File 'lib/rack/contrib/perftools_profiler.rb', line 369

def response
  @result
end