I think I would write this:

```ruby
resource = add_hash_descriptor_to_resources_list(hash)
resource.descriptors.each { |descriptor| add_to_registry(descriptor, registry) }
```

Without the tap nesting at this point.