module VagrantPlugins::HostManager::Util

Public Class Methods

get_config(env) click to toggle source
# File lib/vagrant-hostmanager/util.rb, line 4
def self.get_config(env)
  # config_global has been removed from v1.5
  if Gem::Version.new(::Vagrant::VERSION) >= Gem::Version.new('1.5')
    env.vagrantfile.config
  else
    env.config_global
  end
end