From: Gunnar Date: 2005-05-04T01:44:59+09:00 Subject: Pickaxe page 342, Ranges in Boolean Expressions --I don't understand Hi all I can not make sense of the boolean ranges. The example (11..20).collect {|i| (i%4==0.. i%3==0)?i:nil} => [nil, 12, nil, nil, nil, 16, 17, 18, nil, 20]. I can figure out all numbers except the '18', which in my opinion should be a 'nil' since i%3==0 is true and would cause the state to change from SET to UNSET. Is the state machine Fig 22.1 correct? Gunnar