mirror of
https://github.com/kemko/liquid.git
synced 2026-01-01 15:55:40 +03:00
Freeze mutable object assigned to constant
This commit is contained in:
@@ -44,7 +44,7 @@ module Liquid
|
||||
tok[0] == type
|
||||
end
|
||||
|
||||
CONSUME_TOKENS = [:string, :number]
|
||||
CONSUME_TOKENS = [:string, :number].freeze
|
||||
private_constant :CONSUME_TOKENS
|
||||
|
||||
def expression
|
||||
|
||||
Reference in New Issue
Block a user