What are the object-oriented programming features supported by ruby?
Answer / Pankaj Mishra
"Ruby supports classes (templates for creating objects), objects (instances of classes), inheritance, polymorphism, encapsulation, and mixins."
| Is This Answer Correct ? | 0 Yes | 0 No |
Explain the use of global variable $ in Ruby?
What does mri most commonly stand for?
In Ruby code, often it is observed that coder uses a short hand form of using an expression like array.map(&:method_name) instead of array.map { |element| element.method_name }. How this trick actually works?
What are the data types in ruby?
What are blocks and procs?
What are the object-oriented programming features supported by ruby?
Tell me what is the command to create a migration?
Are ruby strings are mutable?
what is the syntax for Ruby collect Iterator?
What is a symbol in ruby?
Do you know what is the defined operator?
Explain break statement in Ruby?