Pattern: Missing other
name for binary operator
Issue: -
This rule makes sure that certain binary operator methods have their sole parameter named other
.
# bad
def +(amount); end
# good
def +(other); end
Pattern: Missing other
name for binary operator
Issue: -
This rule makes sure that certain binary operator methods have their sole parameter named other
.
# bad
def +(amount); end
# good
def +(other); end