Sha256: 7af115f043cf5e4c28c41811e190e58929f60a0340780f48a15cd493928ae3ed
Contents?: true
Size: 586 Bytes
Versions: 6
Compression:
Stored size: 586 Bytes
Contents
# frozen_string_literal: true require 'vagrant' # compatibility fix to define constant not available Vagrant <1.6 ::Vagrant::MachineState::NOT_CREATED_ID ||= :not_created module VagrantPlugins module ProviderLibvirt module Util module Compat def self.action_hook_args(name, action) # handle different number of arguments for action_hook depending on vagrant version if Gem::Version.new(Vagrant::VERSION) >= Gem::Version.new('2.2.10') return name, action end return name end end end end end
Version data entries
6 entries across 6 versions & 1 rubygems