From: Michael Lucas-Smith Date: 2001-12-31T15:21:35+09:00 Subject: [ruby-talk:29816] Re: Proc.class vs yield Slight amendment to the code: > > def childrenOf (aPersonName, people) > catch (:found) { |person| person.children } > catch (:none) { Array.new } > return people.detect { |person| person.name = aPersonName } > end >