Enabled frozen string literals

This commit is contained in:
Mike Angell
2019-09-16 12:54:33 +10:00
parent 9a42c8c8b2
commit 7abb8a3554
121 changed files with 380 additions and 151 deletions

View File

@@ -1,3 +1,5 @@
# frozen_string_literal: true
module ProductsFilter
def price(integer)
format("$%.2d USD", integer / 100.0)

View File

@@ -1,3 +1,5 @@
# frozen_string_literal: true
class LiquidServlet < WEBrick::HTTPServlet::AbstractServlet
def do_GET(req, res)
handle(:get, req, res)

View File

@@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'webrick'
require 'rexml/document'