class ActionDispatch::MiddlewareStack
def assert_index(index, where)
Experimental RBS support (using type sampling data from the type_fusion
project).
def assert_index: (Class index, Symbol where) -> Integer
This signature was generated using 1 sample from 1 application.
def assert_index(index, where) i = index.is_a?(Integer) ? index : index_of(index) raise "No such middleware to insert #{where}: #{index.inspect}" unless i i end