Class: Vagrant::UI::Silent
Overview
This is a UI implementation that does nothing.
Instance Attribute Summary
Attributes inherited from Interface
#opts, #stderr, #stdin, #stdout
Instance Method Summary collapse
Methods inherited from Interface
#color?, #initialize, #initialize_copy, #machine, #rewriting
Constructor Details
This class inherits a constructor from Vagrant::UI::Interface
Instance Method Details
#ask(*args) ⇒ Object
89 90 91 92 93 94 |
# File 'lib/vagrant/ui.rb', line 89 def ask(*args) super # Silent can't do this, obviously. raise Errors::UIExpectsTTY end |