add ruby signature for min_max_loc