From: Michael W Ryder Date: 2010-05-18T03:55:13+09:00 Subject: Re: Range on strings. Vikrant Chaudhary wrote: > Hi, > If I do - > > ('A'..'Z').include?('AA') > > It returns "true", while > > ('A'..'Z').to_a.include?('AA') > > (of course) returns "false". Is it intentional or possibly a bug? > I'm using ruby 1.8.7 (2010-01-10 patchlevel 249) [x86_64-linux] on > Ubuntu 10.04 x64 Using ruby 1.9.1 and Windows Vista both examples return false.