Update strscan comment

This commit is contained in:
Ian Ker-Seymer
2024-10-31 16:57:52 -04:00
committed by GitHub
parent b4907f6323
commit a0c64e4cbd
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -233,6 +233,6 @@ module Liquid
end
end
# TODO: Remove this once Ruby 3.4.0 release is out
# Remove this once we can depend on strscan >= 3.1.1
Lexer = StringScanner.instance_methods.include?(:scan_byte) ? Lexer2 : Lexer1
end
+1 -1
View File
@@ -208,6 +208,6 @@ module Liquid
end
end
# TODO: Remove this once Ruby 3.4.0 release is out
# Remove this once we can depend on strscan >= 3.1.1
Tokenizer = StringScanner.instance_methods.include?(:scan_byte) ? Tokenizer2 : Tokenizer1
end