From: Bob Hutchison Date: 2007-12-13T01:10:13+09:00 Subject: Re: [ANN] Utility Belt: nifty gem mostly for IRB Hi, There's a little nonsense going on in the fix I provided... I posted an experiment I think. > > class String > def blank? > instance_method(:blank?) rescue def blank? > self !~ /\S/ > end > end > end class String instance_method(:blank?) rescue def blank? self !~ /\S/ end end Is what I'm actually using. There are other ways to do it, as you point out in another posting. Sorry about that, Bob ---- Bob Hutchison -- tumblelog at http://www.recursive.ca/so/ Recursive Design Inc. -- weblog at http://www.recursive.ca/hutch http://www.recursive.ca/ -- works on http://www.raconteur.info/cms-for-static-content/home/