lib/did_you_mean/levenshtein.rb
def min3(a, b, c)
      if a < b && a < c
        a
      elsif b < c
        b
      else
        c
      end
    end
def min3(a, b, c)
      if a < b && a < c
        a
      elsif b < c
        b
      else
        c
      end
    end
detects the minimum value out of three arguments. This method is
 faster than `[a, b, c].min` and puts less GC pressure.
 See https://github.com/yuki24/did_you_mean/pull/1 for a performance
 benchmark.