Method: OpenNebula::Pool#each
- Defined in:
- lib/OpenNebula/Pool.rb
#each(&block) ⇒ Object
Iterates over every PoolElement in the Pool and calls the block with a a PoolElement obtained calling the factory method
- block
-
Block
99 100 101 |
# File 'lib/OpenNebula/Pool.rb', line 99 def each(&block) each_element(block) if @xml end |