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
Constructor Details
This class inherits a constructor from Vagrant::UI::Interface
Instance Method Details
#ask(*args) ⇒ Object
82 83 84 85 86 87 |
# File 'lib/vagrant/ui.rb', line 82 def ask(*args) super # Silent can't do this, obviously. raise Errors::UIExpectsTTY end |