Skip to content

Commit

Permalink
Autocorrect Performance/StringIdentifierArgument
Browse files Browse the repository at this point in the history
  • Loading branch information
mvz committed Dec 23, 2023
1 parent 589cb22 commit 8352bcd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def method_context(code)
# Helper methods to generate a configuration for smell types that support
# `accept` and `reject` settings.
%w(accept reject).each do |switch|
define_method("#{switch}_configuration_for") do |smell_type, pattern:|
define_method(:"#{switch}_configuration_for") do |smell_type, pattern:|
hash = {
smell_type => {
switch => pattern
Expand Down

0 comments on commit 8352bcd

Please sign in to comment.