You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
my_class.rb:40:7: C: Style/OpMethod: When defining the operator, name its argument other`. (https://github.com/bbatsov/ruby-style-guide#other-arg)
def `(cmd)
^^^
I think that "other" is not an intuitive parameter name for the backticks method and that Rubocop should not report it as an offence.
Given the following code:
Rubocop complains with the following offence:
I think that "other" is not an intuitive parameter name for the backticks method and that Rubocop should not report it as an offence.
The text was updated successfully, but these errors were encountered: