From: Fily Salas Date: 2011-11-08T22:29:40+09:00 Subject: Re: Understanding the use of double pipes in Ruby Fily Salas wrote in post #1030836: > Hi, > > Can someone explain the use of double pipes "||" in Ruby? > Are these part of blocks only? > Where else can double pipes be used besides in a block and as the OR symbol? > > The way I understand it, is basically for adding temporary variables to > help identify items in an array, other than that I'm not sure > where else can they be used. > > Thanks a lot! -- Posted via http://www.ruby-forum.com/.