Class: Vagrant::UI::Silent

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

Overview

This is a UI implementation that does nothing.

Instance Method Summary collapse

Methods inherited from Interface

#initialize, #scope

Constructor Details

This class inherits a constructor from Vagrant::UI::Interface

Instance Method Details

#ask(*args) ⇒ Object



46
47
48
49
50
51
# File 'lib/vagrant/ui.rb', line 46

def ask(*args)
  super

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