Method: VMC::Interactive#ask

Defined in:
lib/vmc/cli/interactive.rb

#ask(question, options = {}) ⇒ Object



11
12
13
14
15
16
17
# File 'lib/vmc/cli/interactive.rb', line 11

def ask(question, options = {})
  if force? and options.key?(:default)
    options[:default]
  else
    super
  end
end