Mega Code Archive
Categories
/
Ruby
/
Number
Substituting Variables Into Strings
number = 5 "The number is #{number}." # => "The number is 5."