Skip to content

Commit

Permalink
Make rubocop happy.
Browse files Browse the repository at this point in the history
  • Loading branch information
postmodern committed Apr 17, 2024
1 parent 1ec3e3f commit 8f0e5c4
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions lib/ronin/exploits/cli/commands/new.rb
Original file line number Diff line number Diff line change
Expand Up @@ -298,13 +298,9 @@ def run(file)
# @return [String]
#
def format_kwargs(kwargs)
args = []

kwargs.each do |key,value|
args << "#{key}: #{value.inspect}"
end

return args.join(', ')
kwargs.map { |key,value|
"#{key}: #{value.inspect}"
}.join(', ')
end

# Web exploit class names.
Expand Down

0 comments on commit 8f0e5c4

Please sign in to comment.