class OptionalFormatSegment
Ruby on Rails 2.3.18
Since v2.3.18 Last seen in v2.3.18The OptionalFormatSegment allows for any resource route to have an optional :format, which decreases the amount of routes created by 50%.
Inherits from
Methods (defined here)
- # extract_value
- # interpolation_chunk
- # match_extraction
- # regexp_chunk
- # to_s
- self. new