Ruby Programming Language Question:

Explain about interpolation?

Tweet Share WhatsApp

Answer:

Interpolation is a very important process in Ruby. Interpolation is the process of inserting a string into a literal. There is only one way in which you can interpolate a string into a literal by placing a Hash (#) within {} open and close brackets. This refers to a new name to by referring to the copy of the original method.

Download Ruby PDF Read All 26 Ruby Questions
Previous QuestionNext Question
Explain about ruby code blocks?Explain about Float, Dig and Max?