mirror of
https://github.com/Shopify/liquid.git
synced 2026-10-03 00:55:11 -07:00
Prefer string interpolation in simple cases
Co-Authored-By: Dylan Thacker-Smith <[email protected]>
This commit is contained in:
co-authored by
Dylan Thacker-Smith
parent
c193ce3dab
commit
a2814443bb
@@ -33,7 +33,7 @@ class ProductDrop < Liquid::Drop
|
|||||||
|
|
||||||
class CatchallDrop < Liquid::Drop
|
class CatchallDrop < Liquid::Drop
|
||||||
def liquid_method_missing(method)
|
def liquid_method_missing(method)
|
||||||
+'catchall_method: ' << method.to_s
|
"catchall_method: #{method}"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user