Class: Vagrant::Machine

Inherits:
Object
  • Object
show all
Defined in:
lib/vagrant-windows/monkey_patches/lib/vagrant/machine.rb

Instance Method Summary collapse

Instance Method Details

#is_windows?Boolean

Returns:

  • (Boolean)


27
28
29
# File 'lib/vagrant-windows/monkey_patches/lib/vagrant/machine.rb', line 27

def is_windows?
  return @config.vm.guest.eql? :windows
end

#winrmObject



23
24
25
# File 'lib/vagrant-windows/monkey_patches/lib/vagrant/machine.rb', line 23

def winrm
  @winrm ||= WinRM.new(self)
end