Maybe something like that is easier :?

```ruby
lines.each do |line|
```