What is the difference between ruby 1.9 and ruby 2.0?
Answer / Ranjeet Kumar Yadav
Ruby 2.0 (also known as MRI 2.0) introduced several improvements over Ruby 1.9, including better garbage collection, a new YARV virtual machine that runs code faster and more efficiently, support for blocks with arguments, the ability to use the `a=b if b` syntax, and additional Unicode support.
| Is This Answer Correct ? | 0 Yes | 0 No |
Explain about class libraries in ruby?
In how many ways items can be added in an array in Ruby?
What is the difference between nil and false in ruby?
what is the difference between a single quote and double quote?
what is the difference between String and Symbol?
What are the looping structures available in ruby?
What is yield in ruby?
How to access Ruby array elements? How many methods are used to access Ruby elements?
mention what is the difference between a single quote and double quote?
What is the use of global variable $ in Ruby?
Explain how can we define ruby regular expressions?
Tell me how would you freeze an object in ruby? Can you provide a simple example?