Method: Beaker::Subcommands::SubcommandUtil.verify_init_args
- Defined in:
- lib/beaker/subcommands/subcommand_util.rb
.verify_init_args(options) ⇒ Object
Verify that a valid hypervisor has been specified @param [Array<Object>] options the options we want to query
96 97 98 99 100 |
# File 'lib/beaker/subcommands/subcommand_util.rb', line 96 def self.verify_init_args() unless HYPERVISORS.include?([:hypervisor]) exit_with("Invalid hypervisor. Currently supported hypervisors are: #{HYPERVISORS.join(', ')}") end end |