From 60e0a6f2e750ed1fe4984972987a37fc279b45d2 Mon Sep 17 00:00:00 2001 From: Javi Fontan Date: Fri, 22 Feb 2013 17:01:19 +0100 Subject: [PATCH] feature #1741: add method each_with_xpath to object pools --- src/oca/ruby/opennebula/pool.rb | 1 + 1 file changed, 1 insertion(+) 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