Explain Ruby object?
Answer / Aahuti Tyagi
In Ruby, everything is an object. An object is a basic unit of data that has a class associated with it and can respond to messages. For example, numbers, strings, arrays, and classes are all objects in Ruby.
| Is This Answer Correct ? | 0 Yes | 0 No |
Explain Ruby object?
Tell me how can you declare a block in ruby?
What is the difference between extend and include?
What is the use of global variable $ in Ruby?
Explain me what the difference is between false and nil in ruby?
Tell us how would you implement hash in ruby internally?
What is the use of interpolation in ruby?
In how many ways items can be removed from array in Ruby?
What is RubyGems in Ruby programming language?
Tell me how you can create a controller for subject?
How is visibility of methods changed in ruby?
Tell me what is the difference between ruby 1.9 and ruby 2.0?