Skip to content

Commit

Permalink
Rubocop: resolve Style/SuperWithArgsParentheses
Browse files Browse the repository at this point in the history
  • Loading branch information
orien committed Feb 18, 2024
1 parent 6460940 commit 4a6ba14
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/webmachine/headers.rb
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,12 @@ def self.[](*args)

# Fetch a header
def [](key)
super transform_key(key)
super(transform_key(key))
end

# Set a header
def []=(key, value)
super transform_key(key), value
super(transform_key(key), value)
end

# Returns the value for the given key. If the key can't be found,
Expand Down Expand Up @@ -70,7 +70,7 @@ def fetch(*args, &block)

# Delete a header
def delete(key)
super transform_key(key)
super(transform_key(key))
end

# Select matching headers
Expand Down

0 comments on commit 4a6ba14

Please sign in to comment.