From: Eleanor McHugh Date: 2009-07-01T21:28:51+09:00 Subject: Re: Making a random string On 1 Jul 2009, at 12:44, David A. Black wrote: > I don't think the distinction is between success and failure, though. > (str="ABC").upcase! succeeds -- it just doesn't change str. (I'm not a > huge fan of the nil returns either, by the way.) > > Of course there's always: > > str = "ABC" > str.tap(&:upcase!) > > :-) I'm still adjusting to these 1.9 conveniences ;) Ellie Eleanor McHugh Games With Brains http://slides.games-with-brains.net ---- raise ArgumentError unless @reality.responds_to? :reason