diff --git a/ruby.html.markdown b/ruby.html.markdown
index b6d0e44d..8f23b2e6 100644
--- a/ruby.html.markdown
+++ b/ruby.html.markdown
@@ -170,7 +170,7 @@ array[2, 3] #=> [3, 4, 5]
# Reverse an Array
a=[1,2,3]
-a[::-1] #=> [3,2,1]
+a.reverse! #=> [3,2,1]
# Or with a range
array[1..3] #=> [2, 3, 4]