Configured rubocop and fixed syntax