Class: VagrantRake::Command
- Inherits:
-
Vagrant::Command::Base
- Object
- Vagrant::Command::Base
- VagrantRake::Command
- Defined in:
- lib/vagrant-rake/command.rb
Instance Method Summary collapse
-
#execute ⇒ Object
Executes the given rake command on the VMs that are represented by this environment.
Instance Method Details
#execute ⇒ Object
Executes the given rake command on the VMs that are represented by this environment.
9 10 11 12 |
# File 'lib/vagrant-rake/command.rb', line 9 def execute command = (rake_command || []).join(" ") target_vms.each { |vm| execute_on_vm(vm, command) } end |