Thanks for the help, Gavin!

Carl

----- Original Message ----- 
> Anyway, overriding each is not too hard.  Here's how you could implement
> Hash#each from scratch if you wanted to.  You can hopefully use this to
> implement the functionality you want.  (Warning, not tested.)
> 
> class Hash
>   def each(&block)
>     self.keys.each do |key|
>       value = self.[key]
>       block.call(key, value)
>     end
>   end
> end
> 
> 
> Hope this helps,
> Gavin
>