method

possibles

rails latest stable - Class: ActionDispatch::Journey::Formatter

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v5.0.0.1) is shown here.

possibles(cache, options, depth = 0)
private

No documentation available.

# File actionpack/lib/action_dispatch/journey/formatter.rb, line 153
        def possibles(cache, options, depth = 0)
          cache.fetch(:___routes) { [] } + options.find_all { |pair|
            cache.key?(pair)
          }.flat_map { |pair|
            possibles(cache[pair], options, depth + 1)
          }
        end