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