From: Christer Nilsson Date: 2005-12-09T17:51:04+09:00 Subject: Re: Unlogical ? ruby wrote: > assert_equal (false, true && false) > assert_equal (false, true) and false Pickaxe does not list "," in the operator precedence table. && || .. ... ? : = etc <<= etc defined? not or and The only operator relating to "," here is "=". Maybe it has to do with parallell assignment, as the comma is used there. a, b = false, true My workaround will be to use "&&" Christer -- Posted via http://www.ruby-forum.com/.