Securly access nested attributes.
Acess benchmark attribute hash
@cwb.deep_fetch("sysbench", "cli_options")
Access node attribute (collected by ohai)
@cwb.deep_fetch("cpu", "0", "model_name")
Returns:
an empty string if attribute cannot be found
39 40 41
# File 'lib/cwb/client.rb', line 39 def deep_fetch(*keys) @config.deep_fetch(*keys) end