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 EXCLUSIVE OR; each bit in the result is 1 if the corresponding
bits in `self` and `other` are different, 0 otherwise:

    "%04b" % (0b0101 ^ 0b0110) # => "0011"

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

Related: Integer#& (bitwise AND), Integer#| (bitwise 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.