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?, inherited, #initialize_copy, #machine, #to_proto
Constructor Details
Returns a new instance of NonInteractive.
270
271
272
|
# File 'lib/vagrant/ui.rb', line 270
def initialize
super
end
|
Instance Method Details
#ask(*args, **opts) ⇒ Object
287
288
289
290
|
# File 'lib/vagrant/ui.rb', line 287
def ask(*args, **opts)
raise Errors::UIExpectsTTY
end
|
#clear_line ⇒ Object
282
283
284
285
|
# File 'lib/vagrant/ui.rb', line 282
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
278
279
280
|
# File 'lib/vagrant/ui.rb', line 278
def report_progress(progress, total, show_parts=true)
end
|
#rewriting ⇒ Object
274
275
276
|
# File 'lib/vagrant/ui.rb', line 274
def rewriting
end
|