public Method

Segment.optionality_implied?

Returns true if this segment is optional? because of a default. If so, then no warning will be emitted regarding this segment.

Source Code

# File action_controller/routing/segments.rb, line 60
def optionality_implied?
  false
end
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.