Class: Vagrant::UI
- Inherits:
-
Object
- Object
- Vagrant::UI
- Defined in:
- lib/vagrant/ui.rb
Overview
Vagrant UIs handle communication with the outside world (typically
through a shell). They must respond to the typically logger methods
of warn
, error
, info
, and confirm
.
Direct Known Subclasses
Defined Under Namespace
Classes: Shell
Instance Attribute Summary collapse
-
#env ⇒ Object
Returns the value of attribute env.
Instance Method Summary collapse
-
#initialize(env) ⇒ UI
constructor
A new instance of UI.
Constructor Details
#initialize(env) ⇒ UI
Returns a new instance of UI.
10 11 12 |
# File 'lib/vagrant/ui.rb', line 10 def initialize(env) @env = env end |
Instance Attribute Details
#env ⇒ Object
Returns the value of attribute env.
8 9 10 |
# File 'lib/vagrant/ui.rb', line 8 def env @env end |