From: Dave Thomas Date: 2003-04-17T06:10:40+09:00 Subject: Range in logical context If I run while line = gets puts(line) if line =~ /cat/ .. line =~ /dog/ end with ruby -w, I get: t.rb:2: warning: range literal in condition Does this mean I should deprecate the use of ranges in conditions? Cheers Dave