From: Bertram Scharpf Date: 2009-10-30T22:41:19+09:00 Subject: Re: How do you get the tail end of a string? Hi, Am Freitag, 30. Okt 2009, 22:32:19 +0900 schrieb Aldric Giacomoni: > Bertram Scharpf wrote: > > > > By the way: Still I'm convinced that there should be a > > `String#notempty?' method corresponding to `Numeric#nonzero?'. > > > > class String > def notempty? > !self.empty? > end > end My question was not _how_ to implement it but _why_ _not_ to add it to the interpreter. Your method is returning `true' what Numeric#nonzero? will never do. Bertram -- Bertram Scharpf Stuttgart, Deutschland/Germany http://www.bertram-scharpf.de