This whole block could be written shorter like this:
```ruby
have_home_partition = partitions.any? {|volume| volume['mount'] == '/home' }
```