Class: Vagrant::VM
- Inherits:
-
Object
- Object
- Vagrant::VM
- Defined in:
- lib/vagrant-windows/monkey_patches/vm.rb
Instance Method Summary collapse
Instance Method Details
#channel ⇒ Object
7 8 9 10 11 12 13 14 |
# File 'lib/vagrant-windows/monkey_patches/vm.rb', line 7 def channel if @guest.class.eql? Vagrant::Guest::Windows @channel ||= Communication::WinRM.new(self) else @channel ||= Communication::SSH.new(self) end @channel end |