So this is where I might use a *guard clause*. Since line 39, the first condition of the ```if```, just skips, we can reduce the # of total lines, and reduce the visual and computational complexity, but testing for this separately.  It might look something like this:

```ruby
@contents.scan(/^.+/).each do |data|
  data_partition = data.partition(/: /)

  next if data_partition.last == ""

  hash[data_partition.first] = data_partition.last
end
```

This isn't a /huge/ savings, but every little bit helps.

Also note that I've assigned the return value of ```data.partition(/: /)``` to a variable, rather than execute it 3 times per loop. ```data.partition(/: /)``` may be a fast operation, but there's the potential for it to be terribly slow, so this lets us only execute it once.