Hi, Am Dienstag, 14. MçÓ 2006, 10:25:07 +0900 schrieb George Ogata: > Bertram Scharpf <lists / bertram-scharpf.de> writes: > > > I oftenly use `Numeric#nonzero?'. Actually, I miss its > > equivalent, a method maybe `String#notempty?', returning > > the string if it has a length and nil otherwise. > > > > Do you think it is worth being included? > > Just an idea -- what if: > > foo.bar.baz.blib.blob.blah.!empty? > > were to mean: > > !foo.bar.baz.blib.blob.blah.empty? > > (I can already hear the conservatives swooping down to peck my > eyeballs out...) Sorry. I apologize for having caused the inconvenience. I didn't mean it. It wasn't worth these five lines of code. Bertram -- Bertram Scharpf Stuttgart, Deutschland/Germany http://www.bertram-scharpf.de