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 269 def initialize super end
Public Instance Methods
ask(*args, **opts)
click to toggle source
# File lib/vagrant/ui.rb, line 286 def ask(*args, **opts) # Non interactive can't ask for input raise Errors::UIExpectsTTY end
clear_line()
click to toggle source
# File lib/vagrant/ui.rb, line 281 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 277 def report_progress(progress, total, show_parts=true) # no-op end
rewriting()
click to toggle source
# File lib/vagrant/ui.rb, line 273 def rewriting # no-op end