Max Value in Array

Find the maximum value in an array.

Code

General
arr.max

Parameters

Array of numbers

Server

More Ruby Snippets