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.

Direct Known Subclasses

Remote::Host

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)


16
17
18
# File 'lib/vagrant/plugin/v2/host.rb', line 16

def detect?(env)
  false
end