method
extraction_code
v2.3.8 -
Show latest stable
- Class:
ActionController::Routing::DynamicSegment
extraction_code()public
No documentation available.
# File actionpack/lib/action_controller/routing/segments.rb, line 168
def extraction_code
s = extract_value
vc = value_check
s << "\nreturn [nil,nil] unless #{vc}" if vc
s << "\n#{expiry_statement}"
end