Ruby Programming – String interpolation
Ruby supports string interpolation in which we can embed the expressions within the string literals. This is a very useful feature to create formatted strings in a more readable form. We are going to discuss string interpolation in Ruby, in this article. A special sequence of characters “#{ }” we use to represent the expressions […]