Class: Derailleur::RackHandler

Inherits:
Handler
  • Object
show all
Includes:
Handler::Rack
Defined in:
lib/derailleur/core/handler.rb

Overview

The rack handler class instanciates the status, headers, and page to default values.

Instance Attribute Summary

Attributes included from Handler::Rack

#headers, #page, #status

Attributes inherited from Handler

#ctx, #env, #object

Instance Method Summary collapse

Methods included from Handler::Rack

#initialize_rack, #to_rack_output

Constructor Details

#initialize(obj = nil, env = nil, ctx = nil) ⇒ RackHandler

Returns a new instance of RackHandler.



38
39
40
41
# File 'lib/derailleur/core/handler.rb', line 38

def initialize(obj=nil, env=nil, ctx=nil)
  super
  initialize_rack
end