What are the data types in ruby?
Answer / Vishal Sandhyapushpa
"Ruby has several basic data types: Numeric (Fixnum, Float, Complex), String, Array, Hash (Associative Array or Hash Table), Range and Symbol. Additionally, Ruby supports classes, modules and objects."
| Is This Answer Correct ? | 0 Yes | 0 No |
Tell me what is the role of sub-directory app/controllers and app/helpers?
What is the use of load and require in ruby?
Explain the use of global variable $ in Ruby?
Is ruby whitespace-dependent?
Do you know what is the defined operator?
Explain the role of thread pooling in relation to the thread lifecycle in ruby?
What are blocks and procs?
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?
Is ruby a strongly typed or a weakly typed language?
How is object methods defined in ruby?
How to access Ruby array elements? How many methods are used to access Ruby elements?
How symbol is different from variables?