Class: Vli::UI::Silent
Overview
This is a UI implementation that does nothing.
Instance Attribute Summary
Attributes inherited from Interface
Instance Method Summary collapse
Methods inherited from Interface
Constructor Details
This class inherits a constructor from Vli::UI::Interface
Instance Method Details
#ask(*args) ⇒ Object
30 31 32 33 34 35 |
# File 'lib/vli/ui.rb', line 30 def ask(*args) super # Silent can't do this, obviously. raise Errors::UIExpectsTTY end |