Prefer string interpolation in simple cases

Co-Authored-By: Dylan Thacker-Smith <[email protected]>
This commit is contained in:
Mike Angell
2019-09-17 00:31:19 +10:00
committed by GitHub
co-authored by Dylan Thacker-Smith
parent c193ce3dab
commit a2814443bb
+1 -1
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