Skip to content

Commit

Permalink
Use %i for symbol array generation
Browse files Browse the repository at this point in the history
  • Loading branch information
kaylareopelle committed Feb 25, 2023
1 parent 74358ac commit a243a4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/new_relic/agent/http_clients/abstract.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ module HTTPClients
#
# @api public
class AbstractRequest
[:[], :[]=, :type, :host_from_header, :host, :method, :headers, :uri].each do |name|
%i[[] []= type host_from_header host method headers uri].each do |name|
define_method(name) do
not_implemented(name)
end
Expand Down

0 comments on commit a243a4d

Please sign in to comment.