I have an array of hash :
tags_on
=> [{:point=>["a", "b", "c"]}, {:comma=>["d", "e"]}]
and I would like to get the value ["d", "e"] for a specified
key :comma
is there any DRY way to do it or should I loop into the array ?
thanks for your feedback
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.