class FFaker::UniqueUtils

def add_results_to_hash(name, *arguments)

def add_results_to_hash(name, *arguments)
  @max_retries.times do
    result = @generator.send(name, *arguments)
    next if @previous_results[[name, arguments]].include?(result)
    @previous_results[[name, arguments]] << result
    return result
  end
  raise RetryLimitExceeded
end