class Vagrant::Plugin::V2::Host

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.

Public Instance Methods

detect?(env) click to toggle source

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

@return [Boolean]

# File lib/vagrant/plugin/v2/host.rb, line 13
def detect?(env)
  false
end