Use Rubocop

Indeed. It seems to be a Rubocop bug, already fixed: https://github.com/bbatsov/rubocop/issues/1474