Do you know about dig, float and max?
Answer / Durgesh Babu
dig is a Ruby utility function that allows you to access nested values in a hash or an array.n- Float is the native data type for representing floating-point numbers (decimal numbers) in Ruby.n- max is a method that returns the maximum value of its arguments. For example: `[1, 3, 5].max # => 5.
| Is This Answer Correct ? | 0 Yes | 0 No |
How do you handle exceptions in ruby code?
What is the difference between extend and include?
What does mri most commonly stand for?
Tell me what are blocks and procs?
What are the key features of ruby?
Do you know when self.up and self.down method is used?
In how many ways items can be added in an array in Ruby?
Explain Ruby object?
Explain about normal method class?
Explain about operators in Ruby?
Is ruby a dying language?
Explain ruby data types.