Class: VagrantPlugins::Skytap::Connection::TunnelChoice::CreateAndUseExecution

Inherits:
TunnelExecution show all
Defined in:
lib/vagrant-skytap/connection/tunnel_choice.rb

Instance Attribute Summary

Attributes inherited from TunnelExecution

#guest_network, #host_network

Attributes inherited from Execution

#env, #iface

Instance Method Summary collapse

Methods inherited from TunnelExecution

#initialize, make, #message

Methods inherited from Execution

#initialize, #make, #message

Constructor Details

This class inherits a constructor from VagrantPlugins::Skytap::Connection::TunnelChoice::TunnelExecution

Instance Method Details

#executeObject



108
109
110
# File 'lib/vagrant-skytap/connection/tunnel_choice.rb', line 108

def execute
  guest_network.connect_to_network(host_network)
end

#verbObject



104
105
106
# File 'lib/vagrant-skytap/connection/tunnel_choice.rb', line 104

def verb
  I18n.t("vagrant_skytap.connections.tunnel.verb_create_and_use")
end