module Roda::RodaPlugins::MiddlewareStack::ClassMethods

  1. lib/roda/plugins/middleware_stack.rb

Methods

Public Instance

  1. middleware_stack

Public Instance methods

middleware_stack ()

Return a new Stack that allows removing middleware and inserting middleware at specific places in the stack.

[show source]
   # File lib/roda/plugins/middleware_stack.rb
92 def middleware_stack
93   Stack.new(self, @middleware)
94 end