Bit and, or
(0b1010 & 0b1100).to_s(2) # => "1000" (0b1010 | 0b1100).to_s(2) # => "1110" (0b1010 ^ 0b1100).to_s(2) # => "110"