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 |
Can you call a private method outside a ruby class using its object?
Explain how Symbol is different from variables?
What is the difference between #== and #eql??
Tell us in ruby, it explains about the defined operator?
What are ruby variables.
What is the naming conventions for methods that return a boolean result?
Who is the developer of Ruby?
How would you create getter and setter methods in ruby?
What things we can define in the model?
What does mri most commonly stand for?
Do you know what is the defined operator?
Do you know about dig, float and max?