I am not sure that setting a argument default from an existing value is considered a ruby best practice. Preferably:

```ruby
 build_action_list(protocol = nil)
  protocol ||= @resource_descriptor.protocols.first
  #...
```