to_dot

Function to_dot 

Source
pub fn to_dot(string: &str) -> String
Expand description

Return a version of the string in dot.case format.

§Arguments

  • string - The string to get a dot.case version of.

§Examples

let result = case_switcher::to_dot("sample_string");
assert_eq!(result, "sample.string");