method
possibles
rails latest stable - Class:
ActionDispatch::Journey::Formatter
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