Hi,

On 03/25/2013 03:53 PM, Andrew E. wrote:
> What is my mistake?

Speficially, you are probably looking for the each_pair method:
http://ruby-doc.org/core-1.8.7/Hash.html#method-i-each_pair

Also, I'd advice to never use generic variable names like kk or vv.

Your hash is "index => options"? Why not name the variables thus.

HTH,
Felix

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to