Class: Mongrel::ProctitleHandler
- Inherits:
-
HttpHandler
- Object
- HttpHandler
- Mongrel::ProctitleHandler
- Defined in:
- lib/mongrel_proctitle.rb
Overview
Handler which sets process title before request.
Instance Method Summary collapse
-
#initialize(titler) ⇒ ProctitleHandler
constructor
A new instance of ProctitleHandler.
- #process(request, response) ⇒ Object
Constructor Details
#initialize(titler) ⇒ ProctitleHandler
Returns a new instance of ProctitleHandler.
114 115 116 |
# File 'lib/mongrel_proctitle.rb', line 114 def initialize(titler) @titler = titler end |
Instance Method Details
#process(request, response) ⇒ Object
118 119 120 |
# File 'lib/mongrel_proctitle.rb', line 118 def process(request, response) @titler.set_handling(request) end |