diff --git a/ruby.html.markdown b/ruby.html.markdown index 2c9a4cb9..9f3d0615 100644 --- a/ruby.html.markdown +++ b/ruby.html.markdown @@ -194,6 +194,7 @@ end counter = 1 while counter <= 5 do puts "iteration #{counter}" + counter += 1 end #=> iteration 1 #=> iteration 2