I have the following question:
person = "John", building = "Big Tower"
I want to use Ruby's string interpolation to produce the following:
"My friend John owns the building Big Tower"
Is this the correct answer:
puts "My friend #{person} owns the building #{building}"
??
See Question&Answers more detail:os