Class: AzureInfo::Base
- Inherits:
-
Object
- Object
- AzureInfo::Base
- Defined in:
- lib/azure_info/base.rb
Instance Method Summary collapse
Instance Method Details
#check_az_installed! ⇒ Object
3 4 5 6 7 |
# File 'lib/azure_info/base.rb', line 3 def check_az_installed! installed = system("type az > /dev/null 2>&1") return if installed raise Error.new("ERROR: az is not installed. Please install the az command.") end |