Class: Vagrant::Host

Inherits:
Object
  • Object
show all
Includes:
CapabilityHost
Defined in:
lib/vagrant/host.rb,
lib/vagrant/host/remote.rb

Overview

This class handles host-OS specific interactions. It is responsible for detecting the proper host OS implementation and delegating capabilities to plugins.

See Guest for more information on capabilities.

Defined Under Namespace

Modules: Remote

Instance Method Summary collapse

Methods included from CapabilityHost

#capability, #capability?, #capability_host_chain, #initialize_capabilities!

Constructor Details

#initialize(host, hosts, capabilities, env) ⇒ Host

Returns a new instance of Host.



17
18
19
# File 'lib/vagrant/host.rb', line 17

def initialize(host, hosts, capabilities, env)
  initialize_capabilities!(host, hosts, capabilities, env)
end