method
optionality_implied?
v2.1.0 -
Show latest stable
- Class:
ActionController::Routing::Segment
optionality_implied?()public
Returns true if this segment is optional? because of a default. If so, then no warning will be emitted regarding this segment.