Class: Mccloud::UI
- Inherits:
-
Object
- Object
- Mccloud::UI
- Defined in:
- lib/mccloud/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.
8 9 10 |
# File 'lib/mccloud/ui.rb', line 8 def initialize(env) @env = env end |
Instance Attribute Details
#env ⇒ Object
Returns the value of attribute env.
6 7 8 |
# File 'lib/mccloud/ui.rb', line 6 def env @env end |