Standard rb
This commit is contained in:
@@ -4,7 +4,7 @@ require "rack/contrib"
|
||||
module Adamantium
|
||||
module Middleware
|
||||
class HeaderFix
|
||||
HEADERS_KLASS = Rack.release < "3" ? Rack::Utils::HeaderHash : Rack::Headers
|
||||
HEADERS_KLASS = (Rack.release < "3") ? Rack::Utils::HeaderHash : Rack::Headers
|
||||
private_constant :HEADERS_KLASS
|
||||
|
||||
def initialize(app, &block)
|
||||
@@ -21,4 +21,4 @@ module Adamantium
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user