mirror of
https://github.com/kemko/liquid.git
synced 2026-01-09 11:45:39 +03:00
Enabled frozen string literals (#1154)
* Enabled frozen string literals * Update rubocop config * Prefer string interpolation in simple cases Co-Authored-By: Dylan Thacker-Smith <dylan.smith@shopify.com>
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
module ProductsFilter
|
||||
def price(integer)
|
||||
format("$%.2d USD", integer / 100.0)
|
||||
|
||||
Reference in New Issue
Block a user