Class: Vagrant::UI::Silent

Inherits:
Interface show all
Defined in:
lib/vagrant/ui.rb

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, **opts) ⇒ Object


89
90
91
92
93
94
# File 'lib/vagrant/ui.rb', line 89

def ask(*args, **opts)
  super

  # Silent can't do this, obviously.
  raise Errors::UIExpectsTTY
end