Gary Wright
12/10/2005 3:47:00 AM
On Dec 9, 2005, at 3:51 AM, Christer Nilsson wrote:
> ruby wrote:
>> assert_equal (false, true && false)
>> assert_equal (false, true) and false
>
> Pickaxe does not list "," in the operator precedence table.
Because ',' is not an operator. It is an argument separator.
>> assert_equal (false, true) and false
is the same as:
assert_equal(false,true) and false
I think the space between the method name and the opening
paren of the argument list is confusing you.
Gary Wright