Module: Roda::RodaPlugins::MiddlewareStack::ClassMethods

Defined in:
lib/roda/plugins/middleware_stack.rb

Instance Method Summary collapse

Instance Method Details

#middleware_stackObject

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



92
93
94
# File 'lib/roda/plugins/middleware_stack.rb', line 92

def middleware_stack
  Stack.new(self, @middleware)
end