add modulus operator

This commit is contained in:
Gabriel Halley 2015-10-07 15:25:50 -04:00
parent 5c677e8071
commit e3c528bb81

View File

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