From: Robert Klemme Date: 2009-05-05T00:04:37+09:00 Subject: Re: lazy lookup 2009/5/4 Robert Klemme : >> How does that look like? Somethink like that?: >> >>  Hash.new{ |h,k| h.replace( >>      COMPLETELY_CALCULATED_HASH >>    ); h[k] } PS: careful with h[k] at the end: you might create an infinite loop unless you are sure that k is in the Hash. Cheers robert -- remember.guy do |as, often| as.you_can - without end http://blog.rubybestpractices.com/