class ActionDispatch::Routing::Mapper::Mapping
def split_constraints(path_params, constraints)
Experimental RBS support (using type sampling data from the type_fusion
project).
def split_constraints: (Array[Symbol] path_params, Hash constraints) -> untyped
This signature was generated using 1 sample from 1 application.
def split_constraints(path_params, constraints) constraints.partition do |key, requirement| path_params.include?(key) || key == :controller end end