Fixing rubocop errors for Ruby Ch.3