Flowdock
method

any

Importance_0
v5.1.7 - Show latest stable - 0 notes - Class: VariantCollector
any(*args, &block) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionpack/lib/action_controller/metal/mime_responds.rb, line 281
        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
Register or log in to add new notes.