Oops, I'm new to the site, as well as Ruby.
My question is: Is there a more efficient way to sort a hash according to values?
I made the code below, but I'm sure it's not the most efficient way.
agents = {"pedro" => 7, "lucas" => 1...
asked by
07.02.2018 / 20:08