Created
February 3, 2009 09:12
-
-
Save amatsuda/57431 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
i = 0 | |
10.times do |i| | |
i += 1 | |
end | |
puts i | |
% ruby block_scope.rb | |
10 | |
% ruby19 block_scope.rb | |
0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment