So maybe I have this all wrong, but I'm sure there is a way to do this, say I have a an if statement, that I want to return true if all the conditions in an array evaluate as true.
say I have this:
def real_visitor?(location, request, params)
  valid_location = [
    params['referrer'] == 'us',
    params['bot'] != 'googlebot',
    5 + 5 == 10 
  ]
  if valid_location
    return true
  else
    return false
  end
end
How would I evaluate each of the conditions in the array valid_location, some of those conditions in that array are just pseudocode.