David A. Black schreef:
> 
> You could use group_by (if you've got Ruby 1.9 or a 1.9-flavored 1.8):
> 
>    full_array.group_by {|transaction| transaction.date.year }
> 
> That will give you a hash whose keys are the years and whose values
> are arrays of transaction objects, one such array per year-key.
> 
> 
> David
> 
Thanks for the reply..(Robert, Brian also)
As a matter of fact I installed 1.9 last week awaiting the arrival of 
the well-grounded rubyist which should be sometime tomorrow

Eelco