class

Utils

Inherits Reference < Object

Class methods

get_segments(segments : Hash)

extract those parts from the route which begin with semicolon

Source
has_safe_segments(segments : Hash)

check sanity of segments

Source
load_yaml(config : String)
Source
normalize_command(command : String, segments : Array(String), values : Hash)

replace segments in command with their values from the matching route

Source