method

optional_names

Importance_0
v6.1.7.7 - Show latest stable - 0 notes - Class: Pattern
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 50
        def optional_names
          @optional_names ||= spec.find_all(&:group?).flat_map { |group|
            group.find_all(&:symbol?)
          }.map(&:name).uniq
        end
Register or log in to add new notes.