minmax « Range « Ruby





1.Get the min and max with minmax