+ 1

Can we use the # symbol and curly brackets with the variable name ?

name = "lois" puts " my name is #{name}"

4th May 2017, 1:04 AM
Luis Oscar Salazar Gómez
Luis Oscar Salazar Gómez - avatar
1 Odpowiedź
0
in the rugby programming can do it.
4th May 2017, 1:08 AM
Luis Oscar Salazar Gómez
Luis Oscar Salazar Gómez - avatar