Class: VMware::TaskManager
- Inherits:
-
ManagedEntity
- Object
- ManagedEntity
- VMware::TaskManager
- Defined in:
- lib/vmware/objects/task_manager.rb
Overview
nothing usefull in here just to suppress warning
Instance Attribute Summary
Attributes inherited from ManagedEntity
Instance Method Summary collapse
Methods inherited from ManagedEntity
Constructor Details
This class inherits a constructor from VMware::ManagedEntity
Instance Method Details
#recent_tasks ⇒ Object
6 7 8 9 10 11 12 |
# File 'lib/vmware/objects/task_manager.rb', line 6 def recent_tasks tasks = self["recentTask"] return [] if tasks.nil? tasks.collect do |task| @session.managed_object_wrapper_factory("Task", task)['info'] end end |