Phlip wrote:
> The above line croaks because the right half of the 'or' gets evaluated
> even if the left side is true. Time for me to Replace Conditional With
> Query.

What version are you using?

I'm running:
	ruby 1.6.4 (2001-06-04) [i586-linux-gnu]

<CODE>
def a
  print "a"
  true
end

def b
  print "b"
  false
end

def c
  print "c"
  true
end

def test
  if a or b and c
    print "_test_"
  end
end

test
puts #=> ac_test_
</CODE>

If I understand you correctly, I should have gotten "abc_test_"

-- 
<[ Kent Dahl ]>================<[ http://www.stud.ntnu.no/~kentda/ ]>
  )____(stud.techn.;ind.шл.data)||(softwareDeveloper.at(Trustix))_( 
 /"Opinions expressed are mine and not those of my Employer,      "\
( "the University, my girlfriend, stray cats, banana fruitflies,  " )
 \"nor the frontal lobe of my left cerebral hemisphere.           "/