Created
April 14, 2011 20:35
-
-
Save rafer/920464 to your computer and use it in GitHub Desktop.
ROB 4/14/2011 Trivia: Question 12
This file contains hidden or 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
# Question 12. What does the following print (as of Ruby 1.9)? | |
thang = "biscuits" | |
[1,2,3].each { |n; thang| thang = n } | |
puts thang |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment