what is the best way to do this in ruby?

if condition
  then do a whole bunch of comparisons using >
else
  do all the same comparisons except using <

-- 
Posted via http://www.ruby-forum.com/.