From: Brian Candler Date: 2004-10-01T06:12:33+09:00 Subject: Re: Proc.new(method)? (was Re: Funtionality of 'case'-Expression) On Fri, Oct 01, 2004 at 05:13:24AM +0900, Brian Candler wrote: > Perhaps it makes more sense in this particular example to subclass Proc, > giving a "Proc which has an === method for use in case statements": Or arguably, just alias Proc#=== to Proc#call in the language core for use in case statements, in the same way as Class#=== exists primary for use in case statements. It's interesting to observe that these objects we're talking about are the same as the selector blocks you'd use in Array#find and friends. Regards, Brian.