Use Enumerable#min instead of defined module function.

I think `Enumerable#min` is more well-known and useful method than using self defined method.