class ActiveSupport::ArrayInquirer

def any?(*candidates)

variants.any?(:desktop, :watch) # => false
variants.any?('phone', 'desktop') # => true
variants.any?(:phone, :tablet) # => true
variants.any? # => true

variants = ActiveSupport::ArrayInquirer.new([:phone, :tablet])

If +candidates+ collection is not given, method returns true.

is equal to the stringified or symbolized form of any element in the +candidates+ collection.
The method returns true if any element from the ArrayInquirer collection
Passes each element of +candidates+ collection to ArrayInquirer collection.
def any?(*candidates)
  if candidates.none?
    super
  else
    candidates.any? do |candidate|
      include?(candidate.to_sym) || include?(candidate.to_s)
    end
  end
end