edge badge
Namespace
Methods
B
I
N
P
Class Public methods
build(app)
Alias for: new
new(app)
Also aliased as: build
# File actionpack/lib/action_controller/middleware.rb, line 17
def new(app)
  ActionMiddleware.new(self, app)
end
new(app)
# File actionpack/lib/action_controller/middleware.rb, line 30
def initialize(app)
  super()
  @_app = app
end
Instance Public methods
index()
# File actionpack/lib/action_controller/middleware.rb, line 35
def index
  call(env)
end
process(action)
# File actionpack/lib/action_controller/middleware.rb, line 24
def process(action)
  response = super
  self.status, self.headers, self.response_body = response if response.is_a?(Array)
  response
end