From 46c37fd745c297cb97596a42400c1b4af2e3bba7 Mon Sep 17 00:00:00 2001 From: Andrew Backes Date: Thu, 15 Oct 2015 23:02:03 -0500 Subject: [ruby/en] bitwise xor operator Basic arithmetic bitwise xor operator example --- ruby.html.markdown | 1 + 1 file changed, 1 insertion(+) (limited to 'ruby.html.markdown') diff --git a/ruby.html.markdown b/ruby.html.markdown index 0e798706..946e01d5 100644 --- a/ruby.html.markdown +++ b/ruby.html.markdown @@ -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 -- cgit v1.2.3