mirror of
https://github.com/hashicorp/vagrant.git
synced 2026-02-03 20:39:27 -05:00
14 lines
279 B
Ruby
14 lines
279 B
Ruby
# Copyright (c) HashiCorp, Inc.
|
|
# SPDX-License-Identifier: BUSL-1.1
|
|
|
|
require "vagrant/util/platform"
|
|
|
|
module VagrantPlugins
|
|
module HostDarwin
|
|
class Host < Vagrant.plugin("2", :host)
|
|
def detect?(env)
|
|
Vagrant::Util::Platform.darwin?
|
|
end
|
|
end
|
|
end
|
|
end
|