Module: VagrantPlugins::ProviderLibvirt::Util::Compat
- Defined in:
- lib/vagrant-libvirt/util/compat.rb
Class Method Summary collapse
Class Method Details
.action_hook_args(name, action) ⇒ Object
12 13 14 15 16 17 18 19 |
# File 'lib/vagrant-libvirt/util/compat.rb', line 12 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 |