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?, inherited, #initialize, #initialize_copy, #machine, #rewriting, #to_proto
Constructor Details
This class inherits a constructor from Vagrant::UI::Interface
Instance Method Details
#ask(*args, **opts) ⇒ Object
96 97 98 99 100 101 |
# File 'lib/vagrant/ui.rb', line 96 def ask(*args, **opts) super # Silent can't do this, obviously. raise Errors::UIExpectsTTY end |