class Vagrant::UI::NonInteractive

Public Class Methods

new() click to toggle source
Calls superclass method Vagrant::UI::Basic::new
# File lib/vagrant/ui.rb, line 264
def initialize
  super
end

Public Instance Methods

ask(*args) click to toggle source
# File lib/vagrant/ui.rb, line 281
def ask(*args)
  # Non interactive can't ask for input
  raise Errors::UIExpectsTTY
end
clear_line() click to toggle source
# File lib/vagrant/ui.rb, line 276
def clear_line
  @logger.warn("Using `clear line` in a non interactive ui")
  say(:info, "\n", opts)
end
report_progress(progress, total, show_parts=true) click to toggle source
# File lib/vagrant/ui.rb, line 272
def report_progress(progress, total, show_parts=true)
  # no-op
end
rewriting() click to toggle source
# File lib/vagrant/ui.rb, line 268
def rewriting
  # no-op
end