diff options
Diffstat (limited to 'lib/rack/runtime.rb')
-rw-r--r-- | lib/rack/runtime.rb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/rack/runtime.rb b/lib/rack/runtime.rb index bb15bdb1..d2bca9e5 100644 --- a/lib/rack/runtime.rb +++ b/lib/rack/runtime.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'rack/utils' module Rack @@ -8,8 +10,8 @@ module Rack # time, or before all the other middlewares to include time for them, # too. class Runtime - FORMAT_STRING = "%0.6f".freeze # :nodoc: - HEADER_NAME = "X-Runtime".freeze # :nodoc: + FORMAT_STRING = "%0.6f" # :nodoc: + HEADER_NAME = "X-Runtime" # :nodoc: def initialize(app, name = nil) @app = app |