From: "Jim Weirich" <jim / weirichhouse.org>
> Change the name of "apply_all" to "each", and then include the module 
> Enumerable into your class.  Then you can do things like (assuming "name" 
> might be a method on your node) ....
> 
>     some_node.collect { |n| n.name } # Get a list of all the names
>     some_node.find { |n| n.name =~ /^Bill/ }  # Find a matching node

Nice, thanks !!


Regards,

Bill