mirror of
https://github.com/Shopify/liquid.git
synced 2026-09-15 08:50:45 -07:00
Update strscan comment
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user