```ruby
while snippets.any?
```