From: Bertram Scharpf Date: 2009-06-28T22:48:07+09:00 Subject: Re: Looping Problem Hi, Am Sonntag, 28. Jun 2009, 13:50:21 +0900 schrieb Christopher Dicely: > On Sat, Jun 27, 2009 at 8:56 PM, Scott > Andrechek wrote: > > > > while not answer3.upcase > >  ... > > end > > > > The String#upcase method returns a string [...]. > "answer3 == answer3.upcase" Untested: class String def is_upper? self == upcase end end Bertram -- Bertram Scharpf Stuttgart, Deutschland/Germany http://www.bertram-scharpf.de