Class: VagrantPlugins::ProviderLocal::Action::Network
- Inherits:
-
Object
- Object
- VagrantPlugins::ProviderLocal::Action::Network
- Defined in:
- lib/vagrant-local/action/network.rb
Overview
This is use to define the network
Instance Method Summary collapse
- #call(env) ⇒ Object
-
#initialize(app, _env) ⇒ Network
constructor
A new instance of Network.
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 |