method

requirements=

Importance_0
v7.0.0 - Show latest stable - 0 notes - Class: Ast
requirements=(requirements) 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/nodes/node.rb, line 23
      def requirements=(requirements)
        # inject any regexp requirements for `star` nodes so they can be
        # determined nullable, which requires knowing if the regex accepts an
        # empty string.
        (symbols + stars).each do |node|
          re = requirements[node.to_sym]
          node.regexp = re if re
        end
      end
Register or log in to add new notes.