Blog‎ > ‎

Code Words Week 2

posted Apr 3, 2012, 3:21 PM by Michael Dreyfus-Pai
chomp - cuts off the \n from input
# sign for comments
to_s - to a string
puts - printing stuff
while - repeat this while... something is true
end - goes at the end of a block of code
interpolating - putting code in the middle of text

Comments