Name internally generated tokens with double-underscore

This commit is contained in:
josh committed 2023-03-13 14:13:13 -04:00
1 parent d10e982fc8
commit f402315201
3 files changed
+5 -5

No files matched your search

+1 -1
View File
@@ -9,7 +9,7 @@ class Propane
# @return [String]
# Name of the token to use in code (special characters replaced).
def code_name(name)
name.sub(/^\$/, "0")
name.sub(/^\$/, "__")
end
end