Class: VagrantPlugins::VagrantHyperV::Provider
- Inherits:
-
HyperV::Provider
- Object
- HyperV::Provider
- VagrantPlugins::VagrantHyperV::Provider
- Defined in:
- lib/vagrant-windows-hyperv/provider.rb
Instance Method Summary collapse
Instance Method Details
#action(name) ⇒ Object
16 17 18 19 20 21 22 23 24 25 26 |
# File 'lib/vagrant-windows-hyperv/provider.rb', line 16 def action(name) # Attempt to get the action method from the Action class if it # exists, otherwise return nil to show that we don't support the # given action. action_method = "action_#{name}" if Action.respond_to?(action_method) return Action.send(action_method) else super end end |