method

optional_names

Importance_0
optional_names() public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionpack/lib/action_dispatch/journey/path/pattern.rb, line 52
        def optional_names
          @optional_names ||= spec.grep(Nodes::Group).flat_map { |group|
            group.grep(Nodes::Symbol)
          }.map { |n| n.name }.uniq
        end
Register or log in to add new notes.