+ 2
Why can't I insert a variable into a puts/print?
It says here to do: puts 'Your variable #{variable}' but when I tried it it just printed: Your variable #{variable} I'm running either 2.4.3 or 2.5.0 on Windows with Notepad++ as an IDE. Is there a different command that I have to use?
1 Answer