From: Glenn Parker Date: 2005-03-20T02:38:50+09:00 Subject: Re: strip and its evil brother strip! Florian Gross wrote: > > This is by design. The destructive forms of built-in methods usually > return nil when they do nothing. Yup, my bad. I know (really!) that this is by design, but I got myself confused while writing such a simple reply. For me, chaining methods is part of the Ruby way. Sacrificing the ability to easily chain method! calls was a mistake, IMHO. I still trip over this anomoly, and not once have I needed the functionality that took its place. -- Glenn Parker | glenn.parker-AT-comcast.net |