Skip to content

Instantly share code, notes, and snippets.

@rafer
Created April 14, 2011 20:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rafer/920464 to your computer and use it in GitHub Desktop.
Save rafer/920464 to your computer and use it in GitHub Desktop.
ROB 4/14/2011 Trivia: Question 12
# 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