method
value_regexp
v2.2.1 -
Show latest stable
- Class:
ActionController::Routing::DynamicSegment
value_regexp()public
No documentation available.
# File actionpack/lib/action_controller/routing/segments.rb, line 189
def value_regexp
Regexp.new "\\A#{regexp.to_s}\\Z" if regexp
end