Skip to content

Commit

Permalink
$ Fix RuboCop violations
Browse files Browse the repository at this point in the history
  • Loading branch information
PikachuEXE committed May 12, 2024
1 parent 34ca661 commit 57a4f49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/roadie/rails/options.rb
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ def [](option)

def []=(option, value)
if ATTRIBUTE_NAMES.include?(option)
public_send("#{option}=", value)
public_send(:"#{option}=", value)
else
raise ArgumentError, "#{option.inspect} is not a valid option"
end
Expand Down

0 comments on commit 57a4f49

Please sign in to comment.