diff --git a/src/oca/ruby/opennebula/pool.rb b/src/oca/ruby/opennebula/pool.rb index 1ff18c1abd..10921d720b 100644 --- a/src/oca/ruby/opennebula/pool.rb +++ b/src/oca/ruby/opennebula/pool.rb @@ -22,6 +22,7 @@ module OpenNebula # and provides the basic functionality to handle the Pool elements class Pool < XMLPool include Enumerable + alias_method :each_with_xpath, :each protected #pool:: _String_ XML name of the root element