Class: AzureInfo::Configure

Inherits:
Base
  • Object
show all
Defined in:
lib/azure_info/configure.rb

Instance Method Summary collapse

Methods inherited from Base

#az_installed?, #env_vars, #env_vars_set?, #error_message, #format_list, #show_error

Instance Method Details

#get(name) ⇒ Object



7
8
9
10
11
12
# File 'lib/azure_info/configure.rb', line 7

def get(name)
  item = az_configure.find do |i|
    i["name"] == name
  end
  item["value"] if item
end