Add remote override for #ask method

This commit is contained in:
Chris Roberts 2022-02-23 14:41:12 -08:00 committed by Paul Hinze
parent ee9af88606
commit 2ec4bb1a13
No known key found for this signature in database
GPG Key ID: B69DEDF2D55501C0

View File

@ -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={})