Method: VMC::Cli::Command::Base#resolve_in

Defined in:
lib/cli/commands/base.rb

#resolve_in(hash, *where) ⇒ Object



155
156
157
158
159
# File 'lib/cli/commands/base.rb', line 155

def resolve_in(hash, *where)
  find_in_hash(hash, ["properties"] + where) ||
    find_in_hash(hash, ["applications", @application] + where) ||
    find_in_hash(hash, where)
end