Sha256: 852dd594fd4f0f1f81b760dcf22a214e1d451617e0fff092fbb084215a6afaba
Contents?: true
Size: 207 Bytes
Versions: 6
Compression:
Stored size: 207 Bytes
Contents
module TypeSanitizer def self.sanitize_c_identifier(unsanitized) # convert filename to valid C identifier by replacing invalid chars with '_' unsanitized.gsub(/[-\/\\\.\,\s]/, '_') end end
Version data entries
6 entries across 2 versions & 1 rubygems