class ActionController::MimeResponds::Collector::VariantCollector
def any(*args, &block)
def any(*args, &block) if block_given? if args.any? && args.none? { |a| a == @variant } args.each { |v| @variants[v] = block } else @variants[:any] = block end end end