Sha256: 1ec15145e274c6262c8318932c5b49dc42e1de356eda866578602c1c3edc6df8
Contents?: true
Size: 518 Bytes
Versions: 4
Compression:
Stored size: 518 Bytes
Contents
# ========================================================================= # Unity - A Test Framework for C # ThrowTheSwitch.org # Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams # SPDX-License-Identifier: MIT # ========================================================================= 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
4 entries across 2 versions & 1 rubygems