Checked assignment with Rubocop