Class: Vagrant::UI::NonInteractive
Instance Attribute Summary
Attributes inherited from Interface
#opts, #stderr, #stdin, #stdout
Instance Method Summary
collapse
Methods inherited from Basic
#format_message, #say
#safe_puts
Methods inherited from Interface
#color?, #initialize_copy, #machine
Constructor Details
Returns a new instance of NonInteractive.
264
265
266
|
# File 'lib/vagrant/ui.rb', line 264
def initialize
super
end
|
Instance Method Details
#ask(*args, **opts) ⇒ Object
281
282
283
284
|
# File 'lib/vagrant/ui.rb', line 281
def ask(*args, **opts)
raise Errors::UIExpectsTTY
end
|
#clear_line ⇒ Object
276
277
278
279
|
# 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) ⇒ Object
272
273
274
|
# File 'lib/vagrant/ui.rb', line 272
def report_progress(progress, total, show_parts=true)
end
|
#rewriting ⇒ Object
268
269
270
|
# File 'lib/vagrant/ui.rb', line 268
def rewriting
end
|