From: MrZombie Date: 2010-05-15T22:25:11+09:00 Subject: Re: Range on strings. On 2010-05-14 05:37:37 -0400, Vikrant Chaudhary said: > 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 Mac OS X Snow Leopard running Ruby 1.9.1, same behavior. I notice that it returns false if no element of the string is included in the range. For example, given r = ('A'..'Z'): r.include?('RUBY') # returns true and: r.include?('Ruby') # also true but: r.include?('ruby') # is false. -- Thank you for your brain. -MrZombie