Class: VagrantRake::Command

Inherits:
Vagrant::Command::Base
  • Object
show all
Defined in:
lib/vagrant-rake/command.rb

Instance Method Summary collapse

Instance Method Details

#executeObject

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