Ruby On Rails Interview Questions and Answers
Question: How does a symbol differ from a string?Answer: Symbols are immutable and reusable, retaining the same object_id. |
Is it helpful?
Yes
No
Most helpful rated by users:
- What is Ruby On Rails?
- Why Ruby on Rails?
- Explain how (almost) everything is an object in Ruby.
- What are Gems and which are some of your favorites?
- How would you declare and use a constructor in Ruby?