method

all_optionals_available_condition

rails latest stable - Class: ActionController::Routing::Segment

Method deprecated or moved

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

all_optionals_available_condition(prior_segments)
public

Return an if condition that is true if all the prior segments can be generated. If there are no optional segments before this one, then nil is returned.