From: Paul McMahon Date: 2008-03-01T08:59:21+09:00 Subject: Re: operator |= On Sat, 01 Mar 2008 08:26:21 +0900, 7stud -- 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].