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