We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
initialize
1 parent ff4b7b2 commit f9e1f31Copy full SHA for f9e1f31
.rubocop.yml
@@ -124,3 +124,7 @@ Layout/SpaceBeforeBrackets:
124
Rails/EnvironmentVariableAccess:
125
Enabled: true
126
AllowReads: true
127
+
128
+# Hrack::Server requires the `initialize` method
129
+Style/RedundantInitialize:
130
+ Enabled: false
lib/hrack/server.rb
@@ -8,6 +8,8 @@ class Server
8
9
PLAIN_TYPE = { 'Content-Type' => 'text/plain' }.freeze
10
11
+ def initialize(config = {}); end
12
13
def call(env)
14
dup._call env
15
end
0 commit comments