[Solved] ruby expression for string interpolation [closed]
So interpolation works like the following. You first need to have double quotes like using the “”‘s. Then inside of those double quotes you just add the # and then the {} which contains the block of code that you want to run. So in this case you have 2 assignments: name = “James Kirk” … Read more