Module: VagrantDNS::Installers
- Defined in:
- lib/vagrant-dns/installers.rb,
lib/vagrant-dns/installers/mac.rb,
lib/vagrant-dns/installers/linux.rb
Defined Under Namespace
Class Method Summary collapse
Class Method Details
.resolve ⇒ Object
3 4 5 6 7 8 9 10 11 |
# File 'lib/vagrant-dns/installers.rb', line 3 def self.resolve if Vagrant::Util::Platform.darwin? VagrantDNS::Installers::Mac elsif Vagrant::Util::Platform.linux? VagrantDNS::Installers::Linux else raise 'installing and uninstalling is only supported on Linux and macOS at the moment.' end end |