Class: Vagrant::Plugin::V2::Host
- Inherits:
-
Object
- Object
- Vagrant::Plugin::V2::Host
- 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
Instance Method Summary collapse
-
#detect?(env) ⇒ Boolean
This returns true/false depending on if the current running system matches the host class.
Instance Method Details
#detect?(env) ⇒ Boolean
This returns true/false depending on if the current running system matches the host class.
16 17 18 |
# File 'lib/vagrant/plugin/v2/host.rb', line 16 def detect?(env) false end |