Class: Mccloud::UI

Inherits:
Object
  • Object
show all
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

Shell

Defined Under Namespace

Classes: Shell

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#envObject

Returns the value of attribute env.



6
7
8
# File 'lib/mccloud/ui.rb', line 6

def env
  @env
end