method

ast

rails latest stable - Class: ActionDispatch::Journey::Path::Pattern

Method deprecated or moved

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

ast()
public

No documentation available.

# File actionpack/lib/action_dispatch/journey/path/pattern.rb, line 33
        def ast
          @spec.find_all(&:symbol?).each do |node|
            re = @requirements[node.to_sym]
            node.regexp = re if re
          end

          @spec
        end