Looks like you're trying to do:

```ruby
entries.each { |e| @vars.merge!(e) }
```