I thought about that, but the `_extract_hosts` methods deals with undefined/nil hosts:

https://github.com/elasticsearch/elasticsearch-ruby/blob/master/elasticsearch-transport/lib/elasticsearch/transport/client.rb#L118

I figured it would suffice to continue with this pattern.