| 1. |
Explain About Interpolation? |
|
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. 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. |
|