Question: [![enter image description here](https://i.stack.imgur.com/W3Zgd.png)](https://i.stack.imgur.com/W3Zgd.png)

So only within my sidebar widgets does this bullet above the widgets occur. I am not sure what custom css code to use to get rid of this. That is why I uploaded the picture of the inspect element to see if anyone can help me identify where the problem is coming from. Thank you so much in advance.

Answer: 
The reason you are getting that error message is because the `*` operator is telling Ruby to pass all the items of `arr` to `str.include?`. For those `arr` items, that is equivalent to writing `str.include?("aa", "bb", "cc")`.

As said in other answers, checking a condition is verified for any of the elements contained in an array, like in your case (where you don't want to check if all the elements of an array are substrings of a given string), is done using `arr.any? { |item| str.include?(item) }`.
Given:

```
arr = ["a", "b", "x"]
str = "DoDox"

```

**EDIT**: As the other comments have pointed out, this is actually the fastest way, as it breaks the evaluation when a single true statement is found:

```
arr.any?{|substr| str.include?(substr)}

```

The [foldl](https://en.wikipedia.org/wiki/Fold_(higher-order_function)) way: I have used this example to illustrate the power of folding expresions. This solution might be somewhat elegant as an illustrative example for foldings, but it is not sufficiently performant.

```
arr.map{|substr| str.include?(substr)}.inject{|x,y| x || y}

```

The `map`-function maps all possible substrings the original string `str` can have. `inject` iterates over the returning array and compares its constituents, using a logical or. If any substring in the array 'arr' is encountered, the result will yield true in the result of map. With the or-relation we return a true value, if any value of the result of map was true. This is slower than `any?`, because every single value in the array gets evaluated even if a `true` is encountered (wich would always yield a `true` at the end of `inject`).

```
["a", "b", "x"] -------> [false, false, true] ----------> true
                 map()                          inject()

```