Change all constants to screaming case

This commit is contained in:
Mike Angell
2019-09-18 15:01:00 +10:00
parent adb40c41b7
commit a4ec6a08cb
21 changed files with 185 additions and 123 deletions
+2 -2
View File
@@ -57,10 +57,10 @@ class CountingFileSystem
end
class CustomInclude < Liquid::Tag
Syntax = /(#{Liquid::QuotedFragment}+)(\s+(?:with|for)\s+(#{Liquid::QuotedFragment}+))?/o
SYNTAX = /(#{Liquid::QUOTED_FRAGMENT}+)(\s+(?:with|for)\s+(#{Liquid::QUOTED_FRAGMENT}+))?/o
def initialize(tag_name, markup, tokens)
markup =~ Syntax
markup =~ SYNTAX
@template_name = Regexp.last_match(1)
super
end