Current File : //opt/alt/ruby18/lib64/ruby/gems/1.8/doc/rack-1.6.1/ri/Rack/Runtime/cdesc-Runtime.yaml |
--- !ruby/object:RI::ClassDescription
attributes: []
class_methods:
- !ruby/object:RI::MethodSummary
name: new
comment:
- !ruby/struct:SM::Flow::P
body: Sets an "X-Runtime" response header, indicating the response time of the request, in seconds
- !ruby/struct:SM::Flow::P
body: You can put it right before the application to see the processing time, or before all the other middlewares to include time for them, too.
constants:
- !ruby/object:RI::Constant
comment:
name: FORMAT_STRING
value: "\"%0.6f\""
full_name: Rack::Runtime
includes: []
instance_methods:
- !ruby/object:RI::MethodSummary
name: call
name: Runtime
superclass: Object