Prefer string interpolation in simple cases

Co-Authored-By: Dylan Thacker-Smith <dylan.smith@shopify.com>
This commit is contained in:
Mike Angell
2019-09-17 00:31:19 +10:00
committed by GitHub
parent c193ce3dab
commit a2814443bb

View File

@@ -33,7 +33,7 @@ class ProductDrop < Liquid::Drop
class CatchallDrop < Liquid::Drop
def liquid_method_missing(method)
+'catchall_method: ' << method.to_s
"catchall_method: #{method}"
end
end