def contains?(search)
      search = search.delete(' ').downcase
      target = instance_variables.map { |v| instance_variable_get v }.join
      target.downcase.delete(' ').scan(search).size > 0
    end
def contains?(search)
      search = search.delete(' ').downcase
      target = instance_variables.map { |v| instance_variable_get v }.join
      target.downcase.delete(' ').scan(search).size > 0
    end
Checks whether the search string is contained in one or more of the
 attributes. If the search string is found true is returned otherwise
 false
   link.contains?("example.com")