Add remote override for #ask method
This commit is contained in:
parent
ee9af88606
commit
2ec4bb1a13
@ -12,6 +12,11 @@ module Vagrant
|
||||
# no-op
|
||||
end
|
||||
|
||||
def ask(message, **opts)
|
||||
opts[:style] ||= :detail
|
||||
@client.input(message.gsub("%", "%%"), **opts)
|
||||
end
|
||||
|
||||
# This method handles actually outputting a message of a given type
|
||||
# to the console.
|
||||
def say(type, message, opts={})
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user