From: Eric Hodel Date: 2006-02-03T07:11:59+09:00 Subject: Re: ruby-dev summary 28206-28273 On Feb 2, 2006, at 7:39 AM, Berger, Daniel wrote: >> Minero Aoki wrote: >>> >>> Takaaki Tateishi proposed another idea, Object#nil? with block >>> (again, this name is temporary). >>> >>> a[1].nil? {|str| str.strip.empty? } >>> h["key"].nil? {|h| h.dispatch } >>> >>> This issue is still open. > > Yuck. Looks like a hack from Perl6. Not Ruby-ish. Looks more like Smalltalk, but should be not_nil?. -- Eric Hodel - drbrain@segment7.net - http://segment7.net This implementation is HODEL-HASH-9600 compliant http://trackmap.robotcoop.com