mirror of
https://github.com/kemko/liquid.git
synced 2026-01-01 15:55:40 +03:00
Remove redundant freeze
This commit is contained in:
@@ -421,7 +421,7 @@ module Liquid
|
||||
result.is_a?(BigDecimal) ? result.to_f : result
|
||||
end
|
||||
|
||||
def default(input, default_value = ''.freeze, allow_false: false)
|
||||
def default(input, default_value = '', allow_false: false)
|
||||
if (allow_false ? input.nil? : !input) || input.respond_to?(:empty?) && input.empty?
|
||||
default_value
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user