Rubocop applied code recommendations for computer class