[ruby/en] bitwise xor operator

Basic arithmetic bitwise xor operator example
This commit is contained in:
Andrew Backes 2015-10-15 23:02:03 -05:00
parent 66bc42e31b
commit 46c37fd745

View File

@ -40,6 +40,7 @@ You shouldn't either
35 / 5 #=> 7
2**5 #=> 32
5 % 3 #=> 2
5 ^ 6 #=> 3
# Arithmetic is just syntactic sugar
# for calling a method on an object