Answer Posted / 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 |
Post New Answer View All Answers