Class: VagrantPlugins::HostsProvisioner::Action::Add
- Inherits:
-
Object
- Object
- VagrantPlugins::HostsProvisioner::Action::Add
- Defined in:
- lib/vagrant-servant-hosts-provisioner/action/add.rb
Instance Method Summary collapse
- #call(env) ⇒ Object
-
#initialize(app, env) ⇒ Add
constructor
A new instance of Add.
Constructor Details
#initialize(app, env) ⇒ Add
Returns a new instance of Add.
6 7 8 9 10 |
# File 'lib/vagrant-servant-hosts-provisioner/action/add.rb', line 6 def initialize(app, env) @app = app @machine = env[:machine] @config = @machine.env.vagrantfile.config end |