Paul McMahon
2/29/2008 11:59:00 PM
On Sat, 01 Mar 2008 08:26:21 +0900, 7stud -- <bbxx789_05ss@yahoo.com>
wrote:
> From the above you
> should now know how to OR two numbers together: convert the numbers to
> binary format and then OR the columns together.
>
Note that in ruby | is just a method. For integers it gives the result of
bitwise or, but other classes define it differently. For instance, Array
defines it to return set union, so [1] | [2] is [1,2].