Class: Vagrant::Plugin::V2::Host

Inherits:
Object
  • Object
show all
Defined in:
lib/vagrant/plugin/v2/host.rb

Overview

Base class for a host in Vagrant. A host class contains functionality that is specific to a specific OS that is running Vagrant. This abstraction is done because there is some host-specific logic that Vagrant must do in some cases.

Instance Method Summary collapse

Instance Method Details

#detect?(env) ⇒ Boolean

This returns true/false depending on if the current running system matches the host class.

Returns:

  • (Boolean)

13
14
15
# File 'lib/vagrant/plugin/v2/host.rb', line 13

def detect?(env)
  false
end