virtualman 0.0.0 → 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/virtualman.rb +1 -4
- metadata +1 -1
data/lib/virtualman.rb
CHANGED
@@ -73,11 +73,8 @@ class VmLister < Array
|
|
73
73
|
def manage(action, *param, &block)
|
74
74
|
self.each do |vm|
|
75
75
|
block_param = block.call(vm.name) if block_given?
|
76
|
-
|
77
|
-
puts "action: #{action} for the VM: #{vm.name} with options :"
|
78
|
-
puts " #{param} #{block_param}"
|
79
76
|
|
80
|
-
vm.
|
77
|
+
vm.manage(action, param, block_param)
|
81
78
|
end
|
82
79
|
end
|
83
80
|
|