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

#resource

Instance Method Summary collapse

Methods inherited from Interface

#initialize

Constructor Details

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

Instance Method Details

#ask(*args) ⇒ Object



37
38
39
40
41
42
# File 'lib/vagrant/ui.rb', line 37

def ask(*args)
  super

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