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.
Style/SuperArguments
1 parent 4e8fe8c commit 2c7dee8Copy full SHA for 2c7dee8
lib/webmachine/adapters/webrick.rb
@@ -29,7 +29,7 @@ def run
29
class Server < ::WEBrick::HTTPServer
30
def initialize(options)
31
@application = options[:application]
32
- super(options)
+ super
33
end
34
35
# Handles a request
lib/webmachine/headers.rb
@@ -32,7 +32,7 @@ def self.from_cgi(env)
# @param [Object]
# @return [Webmachine::Headers]
def self.[](*args)
- super(super(*args).map { |k, v| [k.to_s.downcase, v] })
+ super(super.map { |k, v| [k.to_s.downcase, v] })
36
37
38
# Fetch a header
0 commit comments