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...


How to write multiline string in Ruby?



How to write multiline string in Ruby?..

Answer / Mayank Srivastava

"To write a multiline string in Ruby, you can enclose the string within triple double quotes (""") or triple single quotes (''). Within the string, newlines are represented as
."

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Ruby Interview Questions

Can you call a private method outside a ruby class using its object?

1 Answers  


Explain how Symbol is different from variables?

1 Answers  


What is the difference between #== and #eql??

1 Answers  


Tell us in ruby, it explains about the defined operator?

1 Answers  


What are ruby variables.

1 Answers  


What is the naming conventions for methods that return a boolean result?

1 Answers  


Who is the developer of Ruby?

1 Answers  


How would you create getter and setter methods in ruby?

1 Answers  


What things we can define in the model?

1 Answers  


What does mri most commonly stand for?

1 Answers  


Do you know what is the defined operator?

1 Answers  


Do you know about dig, float and max?

1 Answers  


Categories