method

index_of

Importance_0
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: ActionDispatch::MiddlewareStack
index_of(klass) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionpack/lib/action_dispatch/middleware/stack.rb, line 187
      def index_of(klass)
        middlewares.index do |m|
          m.name == klass.name
        end
      end
Register or log in to add new notes.