module Burocracia::Sanitizer
Overview
Module resposible to normalize string inputs.
Extended Modules
Defined in:
burocracia/sanitizer.crInstance Method Summary
-
#sanitize(str : String)
Normalizes and sanitizes a string input, removing anything but numbers.
Instance Method Detail
def sanitize(str : String)
#
Normalizes and sanitizes a string input, removing anything but numbers.
Burocracia::Sanitizer.sanitize("108.291.921-23")
=> "10829192123"