Sha256: bc34aabf52218a3e77e4168cadf45774f245f39d40200e1be0e7832d1bac6e68
Contents?: true
Size: 327 Bytes
Versions: 3
Compression:
Stored size: 327 Bytes
Contents
module ValidateParams module Validatable module Utilities class Scrubber def self.scrub(input_string, replacement: Validatable.configuration.scrub_invalid_utf8_replacement) input_string .scrub(replacement) .tr("\u0000", replacement) end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems