mirror of
https://github.com/Shopify/liquid.git
synced 2026-09-18 02:10:41 -07:00
clean up some rubocop stuff
This commit is contained in:
+2
-2
@@ -24,10 +24,10 @@ module Liquid
|
||||
private
|
||||
|
||||
def interpolate(name, vars)
|
||||
name.gsub(/%\{(\w+)\}/) {
|
||||
name.gsub(/%\{(\w+)\}/) do
|
||||
# raise TranslationError, "Undefined key #{$1} for interpolation in translation #{name}" unless vars[$1.to_sym]
|
||||
"#{vars[$1.to_sym]}"
|
||||
}
|
||||
end
|
||||
end
|
||||
|
||||
def deep_fetch_translation(name)
|
||||
|
||||
Reference in New Issue
Block a user