This is a Ruby tree! It shows every object from the Ruby Programming Language in a tree format.

|

        # Integer.|

(from ruby core)
---
    self | other -> integer

---

Bitwise OR; each bit in the result is 1 if either corresponding bit in
`self` or `other` is 1, 0 otherwise:

    "%04b" % (0b0101 | 0b0110) # => "0111"

Raises an exception if `other` is not an Integer.

Related: Integer#& (bitwise AND), Integer#^ (bitwise EXCLUSIVE OR).



      

This is MURDOC! A Ruby documentation browser inspired by Smalltalk-80. It allows you to learn about Ruby by browsing through its class hierarchies, and see any of its methods.