From: Dave Thomas Date: 2000-11-07T12:20:02+09:00 Subject: [ruby-talk:6093] Re: detect:ifNone: in Ruby Aleksi Niemel� writes: > Don't forget the block form. > > x = a.detect {|i| i == 7}.ifNil { 99 } Yup - good idea. I just liked the fact that I could use polymorphism with built-in classes to create an if-like structure. As the the question mark, I'll bow to anyone's opinion, not having one myself ;-) Regards Dave