Function to_path
Source pub fn to_path(string: &str) -> String
Expand description
Return a version of the string in path/case format.
§Arguments
string - The string to get a path/case version of.
§Examples
let result = case_switcher::to_path("sample_string");
assert_eq!(result, "sample/string");