Mega Code Archive

 
Categories / Ruby / Language Basics
 

The #{100 5} interpolates the result of 100 5 (500) into the string at that position

puts "100 * 5 = #{100 * 5}"