Sha256: ecc5677ac9820f343aca50893463602fca940c24daf07a4784b4e9e0801c3f4b
Contents?: true
Size: 201 Bytes
Versions: 20
Compression:
Stored size: 201 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
20 entries across 8 versions & 2 rubygems