0

a=5 b=7 puts "the sum is #{b-a}". What is this called in ruby

11th Feb 2017, 10:34 PM
Emmanuel Nuotah
6 Respostas
+ 1
thats string interpolation mate
12th Feb 2017, 9:41 PM
Julio Cesar Mora
Julio Cesar Mora - avatar
+ 1
This is string interpolation...
13th Feb 2017, 5:04 AM
Rohit Kumar
Rohit Kumar - avatar
+ 1
2
19th Feb 2017, 6:53 AM
Priya Ranjan
Priya Ranjan - avatar
+ 1
2
12th Jun 2017, 5:01 PM
Priya Ranjan
Priya Ranjan - avatar
0
good ans
13th Feb 2017, 11:02 AM
Emmanuel Nuotah
0
format string
4th Jul 2017, 6:29 PM
Mohmed Zahir
Mohmed Zahir - avatar