Ruby - Variables and Data Types
Given the following code, which option correctly filters only strings from the mixed array using
.is_a??
items = ["apple", 42, :symbol, "banana", 3.14]
strings = items.select { |item| ??? }