From: Benjohn Barnes Date: 2006-04-06T06:31:10+09:00 Subject: Re: Ruby Weekly News 27th March - 2nd April 2006 On 4 Apr 2006, at 23:13, Tim Sutherland wrote: > In article <20060404213120.GB3504@tux-chan>, Mauricio Fernandez wrote: >> On Tue, Apr 04, 2006 at 07:33:48PM +0900, Tim Sutherland wrote: >>> http://www.rubyweeklynews.org/20060402.html > [...] >> As I said under that thread, I think this (proposal for multi- >> method support) >> is yet another April 1st joke. I'm subscribed to ruby-dev and the >> message >> referred to in in that summary ([ruby-dev:28533]) doesn't exist: >> indeed, the >> last message is [ruby-dev:28505] as of Wed, 5 Apr 2006 03:30:04 >> +0900. >> >> Maybe it would be better to clarify that for the record. > > I fell for it, doh! I've updated the site. Heh - I thought it sounded like an excellent approach! I particularly liked the idea of using the === operator (that I've started to think of as a predicate acceptance test - it makes the receiver behave as a predicate, and the argument is matched for satisfying the predicate) for the matching. Really very similar to a case statement, but extensible, I suppose.