Fix some similar Ruby code style issues that Rubocop didn't see