class Utils
- Utils
- Reference
- Object
Defined in:
utils.crClass Method Summary
-
.get_segments(segments : Hash)
extract those parts from the route which begin with semicolon
-
.has_safe_segments(segments : Hash)
check sanity of segments
- .load_yaml(config : String)
-
.normalize_command(command : String, segments : Array(String), values : Hash)
replace segments in command with their values from the matching route
Class Method Detail
def self.get_segments(segments : Hash)
#
extract those parts from the route which begin with semicolon
def self.normalize_command(command : String, segments : Array(String), values : Hash)
#
replace segments in command with their values from the matching route