Method: Hash#max_by_value

Defined in:
lib/rmtools/enumerable/hash.rb

#max_by_valueObject



57
# File 'lib/rmtools/enumerable/hash.rb', line 57

def max_by_value; [(m = values.max), self[m]] end