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?, 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



98
99
100
101
102
103
# File 'lib/vagrant/ui.rb', line 98

def ask(*args, **opts)
  super

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