class ActionDispatch::Journey::Formatter
def missing_keys(route, parts)
Experimental RBS support (using type sampling data from the type_fusion
project).
def missing_keys: (ActionDispatch::Journey::Route route, Hash parts) -> nil
This signature was generated using 2 samples from 1 application.
def missing_keys(route, parts) missing_keys = nil tests = route.path.requirements_for_missing_keys_check route.required_parts.each { |key| case tests[key] when nil unless parts[key] missing_keys ||= [] missing_keys << key end else unless tests[key].match?(parts[key]) missing_keys ||= [] missing_keys << key end end } missing_keys end