method

divide_route_options

divide_route_options(segments, options)
public

Split the given hash of options into requirement and default hashes. The segments are passed alongside in order to distinguish between default values and requirements.