From: wolf volpi Date: 2011-04-04T13:55:59+09:00 Subject: Re: pipe question Ha Ha. I was interpeting the pipes as empty arguments of an empty block, which made no sence to me. Logical operators didn't even occure to me. Seems funny now. Thank you John and Josh for helping me see the light. The || is a Logical OR Operator that returns the first true value (in Ruby anything besides false and nil is true). I ran this demonstration in irb: >> true || true => true >> true || false => true >> false || true => true >> false || false => false >> 1 || 2 => 1 >> 1 || false => 1 >> false || 2 => 2 >> false || false => false >> 1 || 2 => 1 >> 1 || nil => 1 >> nil || 2 => 2 >> nil || nil => nil >> nil || nil || 3 || 4 => 3 -- Posted via http://www.ruby-forum.com/.