How do I check for 2 seperate classes when using the .is_a? method : I am trying to define a method that returns true if the array contains any strings or numbers.  Basically I want it to return true as long as their is something in the array. 

This is what I have tried so far and it is not working:

    def any_strings_or_numbers?(a)
      a.any? {|num| num.is_a?(String || Integer) }
    end

And here's what I mean for what I want this method to return

    a = [ 1, 2, 3, "string" ]
    any_strings_or_numbers?(a)
    #=> true

    b = [ "no numbers" ]
    any_strings_or_numbers?(b)
    #=> true

    c = [ 1.0 ]
    any_strings_or_numbers?(c)
    #=> true

    c = [ ]
    any_strings_or_numbers?(c)
    #=> false