Streamlined Ruby code with Rubocop comments