Skip to content

Commit 2c7dee8

Browse files
committed
RuboCop: resolve Style/SuperArguments
1 parent 4e8fe8c commit 2c7dee8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/webmachine/adapters/webrick.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def run
2929
class Server < ::WEBrick::HTTPServer
3030
def initialize(options)
3131
@application = options[:application]
32-
super(options)
32+
super
3333
end
3434

3535
# Handles a request

lib/webmachine/headers.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def self.from_cgi(env)
3232
# @param [Object]
3333
# @return [Webmachine::Headers]
3434
def self.[](*args)
35-
super(super(*args).map { |k, v| [k.to_s.downcase, v] })
35+
super(super.map { |k, v| [k.to_s.downcase, v] })
3636
end
3737

3838
# Fetch a header

0 commit comments

Comments
 (0)