appease RuboCop: AssignmentInCondition