Class: VagrantPlugins::ProviderLocal::Action::Network

Inherits:
Object
  • Object
show all
Defined in:
lib/vagrant-local/action/network.rb

Overview

This is use to define the network

Instance Method Summary collapse

Constructor Details

#initialize(app, _env) ⇒ Network

Returns a new instance of Network.



12
13
14
15
# File 'lib/vagrant-local/action/network.rb', line 12

def initialize(app, _env)
  @logger = Log4r::Logger.new('vagrant_local::action::import')
  @app = app
end

Instance Method Details

#call(env) ⇒ Object



17
18
19
20
# File 'lib/vagrant-local/action/network.rb', line 17

def call(env)
  @machine = env[:machine]
  @app.call(env)
end