Flowdock
method

requirement_for

Importance_0
v2.2.1 - Show latest stable - 0 notes - Class: ActionController::Routing::Route
requirement_for(key) private

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_controller/routing/route.rb, line 126
        def requirement_for(key)
          return requirements[key] if requirements.key? key
          segments.each do |segment|
            return segment.regexp if segment.respond_to?(:key) && segment.key == key
          end
          nil
        end
Register or log in to add new notes.