Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


what is Interpolation in Ruby?



what is Interpolation in Ruby?..

Answer / Syed Sadiq Saleem

Interpolation in Ruby refers to the process of embedding expressions within a string. This can be done using double quotes, which allow for both variable interpolation (using #{variable}) and string concatenation (by placing expressions next to each other).

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Ruby Interview Questions

What is the use of global variable $ in Ruby?

1 Answers  


What is the difference between “#==” and “#equal?”

1 Answers  


What is the difference between ruby 1.9 and ruby 2.0?

1 Answers  


Explain the concepts and capabilities of garbage collection feature of Ruby?

1 Answers  


Tell me what is the difference between ruby 1.9 and ruby 2.0?

1 Answers  


what is the difference extend and include?

1 Answers  


Explain ruby ranges. What are the ways to define ranges?

1 Answers  


What is the difference between a statement and an expression in ruby?

1 Answers  


Explain ruby strings.

1 Answers  


Explain redo statement in Ruby?

1 Answers  


What does irb stand for?

1 Answers  


Explain about environment variables present in ruby?

1 Answers  


Categories